Skip to content
Kolorvia
#004f9f

Color #004f9f

A vivid, highly saturated dark blue.

Conversions

HEX
#004f9f
RGB
rgb(0, 79, 159)
HSL
hsl(210.2, 100%, 31.2%)
HSV / HSB
hsv(210.2, 100%, 62.4%)
CMYK
cmyk(100%, 50.3%, 0%, 37.6%)
LAB
lab(34.18, 12.05, -49.01)
LCH
lch(34.18, 50.47, 283.81)
OKLCH
oklch(43.6%, 0.146, 255.48)
HWB
hwb(210.2, 0%, 37.6%)

Harmony colors

Complementary

#9f5000

Analogous

#009f9f
#004f9f
#01009f

Triadic

#004f9f
#9f004f
#4f9f00

Split-complementary

#004f9f
#9f0100
#9f9f00

Tetradic

#004f9f
#50009f
#9f5000
#4f9f00

Square

#004f9f
#9f009f
#9f5000
#009f01

Shades

Color #004f9f mixed toward black.

#004285
#00356a
#002850
#001a35
#000d1b

Tints

Color #004f9f mixed toward white.

#006cda
#1589ff
#50a7ff
#8ac4ff
#c5e2ff

Tones

Color #004f9f mixed toward gray.

#0d4f92
#1b4f85
#284f77
#354f6a
#424f5d

Accessibility

Aa White text on this color
8.02:1
Aa Black text on this color
2.62:1

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

Under color vision deficiencies

Protanopia

#343491 · ΔE 11.8

Deuteranopia

#302a8d · ΔE 14.3

Tritanopia

#0d8481 · ΔE 32.1

Achromatopsia

#505050 · ΔE 23.7

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

Code

CSS
background-color: #004f9f;
Tailwind (arbitrary value)
bg-[#004f9f]

Related colors

Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff
Alice Blue #f0f8ff
Steel Blue #4682b4
Light Steel Blue #b0c4de

Frequently asked questions

#004f9f (#004f9f) is rgb(0, 79, 159) in RGB.

No, #004f9f 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 #004f9f, 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.