Skip to content
Kolorvia
#212842

Color #212842

A muted very dark blue.

Conversions

HEX
#212842
RGB
rgb(33, 40, 66)
HSL
hsl(227.3, 33.3%, 19.4%)
HSV / HSB
hsv(227.3, 50%, 25.9%)
CMYK
cmyk(50%, 39.4%, 0%, 74.1%)
LAB
lab(16.67, 5.23, -17.42)
LCH
lch(16.67, 18.19, 286.71)
OKLCH
oklch(28.3%, 0.0489, 271.52)
HWB
hwb(227.3, 12.9%, 74.1%)

Harmony colors

Complementary

#423b21

Analogous

#213842
#212842
#2a2142

Triadic

#212842
#422128
#284221

Split-complementary

#212842
#422a21
#384221

Tetradic

#212842
#3b2142
#423b21
#284221

Square

#212842
#422138
#423b21
#21422a

Shades

Color #212842 mixed toward black.

#1b2137
#161b2c
#101421
#0b0d16
#05070b

Tints

Color #212842 mixed toward white.

#384470
#4f5f9d
#7685ba
#a4add1
#d1d6e8

Tones

Color #212842 mixed toward gray.

#242a3f
#262b3c
#292d3a
#2c2e37
#2f3034

Accessibility

Aa White text on this color
14.51:1
Aa Black text on this color
1.45:1

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

Under color vision deficiencies

Protanopia

#24243d · ΔE 3

Deuteranopia

#24233c · ΔE 3.5

Tritanopia

#213837 · ΔE 18.8

Achromatopsia

#292929 · ΔE 13.3

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

Code

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

Related colors

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

Frequently asked questions

#212842 (#212842) is rgb(33, 40, 66) in RGB.

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