Skip to content
Kolorvia
#001f8f

Color #001f8f

A vivid, highly saturated dark blue.

Conversions

HEX
#001f8f
RGB
rgb(0, 31, 143)
HSL
hsl(227, 100%, 28%)
HSV / HSB
hsv(227, 100%, 56.1%)
CMYK
cmyk(100%, 78.3%, 0%, 43.9%)
LAB
lab(19.89, 38.05, -62.62)
LCH
lch(19.89, 73.27, 301.28)
OKLCH
oklch(32.5%, 0.1828, 263.84)
HWB
hwb(227, 0%, 43.9%)

Harmony colors

Complementary

#8f7000

Analogous

#00668f
#001f8f
#28008f

Triadic

#001f8f
#8f001f
#1f8f00

Split-complementary

#001f8f
#8f2800
#668f00

Tetradic

#001f8f
#70008f
#8f7000
#1f8f00

Square

#001f8f
#8f0066
#8f7000
#008f28

Shades

Color #001f8f mixed toward black.

#001a77
#00155f
#000f47
#000a30
#000518

Tints

Color #001f8f mixed toward white.

#002ccc
#0a3fff
#476fff
#859fff
#c2cfff

Tones

Color #001f8f mixed toward gray.

#0c2683
#182c77
#24336b
#303a5f
#3c4153

Accessibility

Aa White text on this color
13.19:1
Aa Black text on this color
1.59:1

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

Under color vision deficiencies

Protanopia

#12127f · ΔE 3.7

Deuteranopia

#100d7b · ΔE 4.8

Tritanopia

#02706c · ΔE 38.4

Achromatopsia

#303030 · ΔE 27.7

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

Code

CSS
background-color: #001f8f;
Tailwind (arbitrary value)
bg-[#001f8f]

Related colors

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

Frequently asked questions

#001f8f (#001f8f) is rgb(0, 31, 143) in RGB.

No, #001f8f 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 #001f8f, 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.