Skip to content
Kolorvia
#212f59

Color #212f59

A moderately saturated dark blue.

Conversions

HEX
#212f59
RGB
rgb(33, 47, 89)
HSL
hsl(225, 45.9%, 23.9%)
HSV / HSB
hsv(225, 62.9%, 34.9%)
CMYK
cmyk(62.9%, 47.2%, 0%, 65.1%)
LAB
lab(20.35, 8.81, -27.14)
LCH
lch(20.35, 28.53, 287.98)
OKLCH
oklch(31.7%, 0.0774, 267.93)
HWB
hwb(225, 12.9%, 65.1%)

Harmony colors

Complementary

#594b21

Analogous

#214b59
#212f59
#2f2159

Triadic

#212f59
#59212f
#2f5921

Split-complementary

#212f59
#592f21
#4b5921

Tetradic

#212f59
#4b2159
#594b21
#2f5921

Square

#212f59
#59214b
#594b21
#21592f

Shades

Color #212f59 mixed toward black.

#1b274a
#161f3b
#10172c
#0b101e
#05080f

Tints

Color #212f59 mixed toward white.

#324888
#4461b7
#7188cb
#a1afdc
#d0d7ee

Tones

Color #212f59 mixed toward gray.

#263154
#2a3450
#2f364b
#343846
#383b42

Accessibility

Aa White text on this color
13:1
Aa Black text on this color
1.62:1

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

Under color vision deficiencies

Protanopia

#282851 · ΔE 4.2

Deuteranopia

#27264f · ΔE 4.8

Tritanopia

#224a49 · ΔE 23.7

Achromatopsia

#313131 · ΔE 17.9

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#212f59 (#212f59) is rgb(33, 47, 89) in RGB.

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