Skip to content
Kolorvia
#021f3a

Color #021f3a

A vivid, highly saturated very dark blue.

Conversions

HEX
#021f3a
RGB
rgb(2, 31, 58)
HSL
hsl(208.9, 93.3%, 11.8%)
HSV / HSB
hsv(208.9, 96.6%, 22.7%)
CMYK
cmyk(96.6%, 46.6%, 0%, 77.3%)
LAB
lab(11.26, 1.4, -20.49)
LCH
lch(11.26, 20.54, 273.91)
OKLCH
oklch(23.5%, 0.0625, 249.88)
HWB
hwb(208.9, 0.8%, 77.3%)

Harmony colors

Complementary

#3a1d02

Analogous

#023a39
#021f3a
#02033a

Triadic

#021f3a
#3a021f
#1f3a02

Split-complementary

#021f3a
#3a0203
#3a3902

Tetradic

#021f3a
#1d023a
#3a1d02
#1f3a02

Square

#021f3a
#39023a
#3a1d02
#033a02

Shades

Color #021f3a mixed toward black.

#021a30
#011527
#01101d
#010a13
#00050a

Tints

Color #021f3a mixed toward white.

#054683
#076dcb
#2692f7
#6eb7fa
#b7dbfc

Tones

Color #021f3a mixed toward gray.

#071f35
#0b1f31
#101f2c
#151e27
#191e23

Accessibility

Aa White text on this color
16.67:1
Aa Black text on this color
1.26:1

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

Under color vision deficiencies

Protanopia

#121335 · ΔE 9.2

Deuteranopia

#110e34 · ΔE 10.4

Tritanopia

#04302f · ΔE 18.9

Achromatopsia

#1e1e1e · ΔE 14.1

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

Code

CSS
background-color: #021f3a;
Tailwind (arbitrary value)
bg-[#021f3a]

Related colors

Dodger Blue #1e90ff
Alice Blue #f0f8ff
Light Slate Gray #778899
Slate Gray #708090
Steel Blue #4682b4
Charcoal #36454f

Frequently asked questions

#021f3a (#021f3a) is rgb(2, 31, 58) in RGB.

No, #021f3a 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 #021f3a, 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.