Skip to content
Kolorvia
#04060f

Color #04060f

A moderately saturated very dark blue.

Conversions

HEX
#04060f
RGB
rgb(4, 6, 15)
HSL
hsl(229.1, 57.9%, 3.7%)
HSV / HSB
hsv(229.1, 73.3%, 5.9%)
CMYK
cmyk(73.3%, 60%, 0%, 94.1%)
LAB
lab(1.72, 0.83, -3.87)
LCH
lch(1.72, 3.96, 282.1)
OKLCH
oklch(12.5%, 0.0224, 269.74)
HWB
hwb(229.1, 1.6%, 94.1%)

Harmony colors

Complementary

#0f0d04

Analogous

#040b0f
#04060f
#07040f

Triadic

#04060f
#0f0406
#060f04

Split-complementary

#04060f
#0f0704
#0b0f04

Tetradic

#04060f
#0d040f
#0f0d04
#060f04

Square

#04060f
#0f040b
#0f0d04
#040f07

Shades

Color #04060f mixed toward black.

#03050c
#03040a
#020307
#010205
#010102

Tints

Color #04060f mixed toward white.

#152050
#263a90
#3d57cb
#7e8fdd
#bec7ee

Tones

Color #04060f mixed toward gray.

#05070e
#06070d
#07080c
#08080b
#09090a

Accessibility

Aa White text on this color
20.23:1
Aa Black text on this color
1.04:1

White text reads better on this background (20.23:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#05050d · ΔE 0.8

Deuteranopia

#05050d · ΔE 0.8

Tritanopia

#040b0b · ΔE 4.8

Achromatopsia

#060606 · ΔE 3.7

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #04060f;
Tailwind (arbitrary value)
bg-[#04060f]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#04060f (#04060f) is rgb(4, 6, 15) in RGB.

No, #04060f is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #04060f, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.