Skip to content
Kolorvia
#04030c

Color #04030c

A moderately saturated very dark blue.

Conversions

HEX
#04030c
RGB
rgb(4, 3, 12)
HSL
hsl(246.7, 60%, 2.9%)
HSV / HSB
hsv(246.7, 75%, 4.7%)
CMYK
cmyk(66.7%, 75%, 0%, 95.3%)
LAB
lab(1.06, 1.53, -3.36)
LCH
lch(1.06, 3.69, 294.48)
OKLCH
oklch(10.8%, 0.0262, 288.71)
HWB
hwb(246.7, 1.2%, 95.3%)

Harmony colors

Complementary

#0b0c03

Analogous

#03060c
#04030c
#08030c

Triadic

#04030c
#0c0403
#030c04

Split-complementary

#04030c
#0c0803
#060c03

Tetradic

#04030c
#0c030b
#0b0c03
#030c04

Square

#04030c
#0c0306
#0b0c03
#030c08

Shades

Color #04030c mixed toward black.

#03020a
#030208
#020106
#010104
#010002

Tints

Color #04030c mixed toward white.

#1a134e
#302490
#4a39cd
#867bde
#c3bdee

Tones

Color #04030c mixed toward gray.

#05040b
#05040a
#06050a
#060609
#070708

Accessibility

Aa White text on this color
20.52:1
Aa Black text on this color
1.02:1

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

Under color vision deficiencies

Protanopia

#04040a · ΔE 1.3

Deuteranopia

#040409 · ΔE 1.7

Tritanopia

#040808 · ΔE 4.6

Achromatopsia

#040404 · ΔE 3.7

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

Code

CSS
background-color: #04030c;
Tailwind (arbitrary value)
bg-[#04030c]

Related colors

Slate Blue #6a5acd
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#04030c (#04030c) is rgb(4, 3, 12) in RGB.

No, #04030c is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #04030c, 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.