Skip to content
Kolorvia
#212a42

Color #212a42

A muted very dark blue.

Conversions

HEX
#212a42
RGB
rgb(33, 42, 66)
HSL
hsl(223.6, 33.3%, 19.4%)
HSV / HSB
hsv(223.6, 50%, 25.9%)
CMYK
cmyk(50%, 36.4%, 0%, 74.1%)
LAB
lab(17.33, 3.79, -16.39)
LCH
lch(17.33, 16.82, 283.02)
OKLCH
oklch(28.9%, 0.0459, 267.75)
HWB
hwb(223.6, 12.9%, 74.1%)

Harmony colors

Complementary

#423921

Analogous

#213a42
#212a42
#282142

Triadic

#212a42
#42212a
#2a4221

Split-complementary

#212a42
#422821
#3a4221

Tetradic

#212a42
#392142
#423921
#2a4221

Square

#212a42
#42213a
#423921
#214228

Shades

Color #212a42 mixed toward black.

#1b2337
#161c2c
#101521
#0b0e16
#05070b

Tints

Color #212a42 mixed toward white.

#384770
#4f649d
#7689ba
#a4b0d1
#d1d8e8

Tones

Color #212a42 mixed toward gray.

#242b3f
#262c3c
#292e3a
#2c2f37
#2f3034

Accessibility

Aa White text on this color
14.24:1
Aa Black text on this color
1.47:1

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

Under color vision deficiencies

Protanopia

#25253d · ΔE 4.1

Deuteranopia

#25243c · ΔE 4.6

Tritanopia

#223938 · ΔE 17.5

Achromatopsia

#2b2b2b · ΔE 12.5

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

Code

CSS
background-color: #212a42;
Tailwind (arbitrary value)
bg-[#212a42]

Related colors

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

Frequently asked questions

#212a42 (#212a42) is rgb(33, 42, 66) in RGB.

No, #212a42 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 #212a42, 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.