Skip to content
Kolorvia
#04265c

Color #04265c

A vivid, highly saturated very dark blue.

Conversions

HEX
#04265c
RGB
rgb(4, 38, 92)
HSL
hsl(216.8, 91.7%, 18.8%)
HSV / HSB
hsv(216.8, 95.7%, 36.1%)
CMYK
cmyk(95.7%, 58.7%, 0%, 63.9%)
LAB
lab(16.43, 12.3, -35.53)
LCH
lch(16.43, 37.6, 289.1)
OKLCH
oklch(28.4%, 0.1044, 259.68)
HWB
hwb(216.8, 1.6%, 63.9%)

Harmony colors

Complementary

#5c3a04

Analogous

#04525c
#04265c
#0e045c

Triadic

#04265c
#5c0426
#265c04

Split-complementary

#04265c
#5c0e04
#525c04

Tetradic

#04265c
#3a045c
#5c3a04
#265c04

Square

#04265c
#5c0452
#5c3a04
#045c0e

Shades

Color #04265c mixed toward black.

#03204d
#03193d
#02132e
#010d1f
#01060f

Tints

Color #04265c mixed toward white.

#07419e
#0a5de0
#3982f6
#7bacf9
#bdd5fc

Tones

Color #04265c mixed toward gray.

#0b2855
#13294d
#1a2b46
#212d3f
#292e37

Accessibility

Aa White text on this color
14.61:1
Aa Black text on this color
1.44:1

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

Under color vision deficiencies

Protanopia

#181853 · ΔE 6.5

Deuteranopia

#161350 · ΔE 7.8

Tritanopia

#074a48 · ΔE 26.9

Achromatopsia

#292929 · ΔE 20.8

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

Code

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

Related colors

Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff
Royal Blue #4169e1

Frequently asked questions

#04265c (#04265c) is rgb(4, 38, 92) in RGB.

No, #04265c 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 #04265c, 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.