Skip to content
Kolorvia
#21294e

Color #21294e

A moderately saturated dark blue.

Conversions

HEX
#21294e
RGB
rgb(33, 41, 78)
HSL
hsl(229.3, 40.5%, 21.8%)
HSV / HSB
hsv(229.3, 57.7%, 30.6%)
CMYK
cmyk(57.7%, 47.4%, 0%, 69.4%)
LAB
lab(17.73, 8.93, -23.95)
LCH
lch(17.73, 25.56, 290.45)
OKLCH
oklch(29.4%, 0.0681, 272.36)
HWB
hwb(229.3, 12.9%, 69.4%)

Harmony colors

Complementary

#4e4621

Analogous

#21404e
#21294e
#30214e

Triadic

#21294e
#4e2129
#294e21

Split-complementary

#21294e
#4e3021
#404e21

Tetradic

#21294e
#46214e
#4e4621
#294e21

Square

#21294e
#4e2140
#4e4621
#214e30

Shades

Color #21294e mixed toward black.

#1c2241
#161b34
#111527
#0b0e1a
#06070d

Tints

Color #21294e mixed toward white.

#35427d
#495aab
#7381c4
#a2abd7
#d0d5eb

Tones

Color #21294e mixed toward gray.

#252c4a
#292e47
#2c3043
#30333f
#34353b

Accessibility

Aa White text on this color
14.08:1
Aa Black text on this color
1.49:1

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

Under color vision deficiencies

Protanopia

#252547 · ΔE 2.9

Deuteranopia

#242445 · ΔE 3.1

Tritanopia

#214140 · ΔE 23

Achromatopsia

#2b2b2b · ΔE 16.9

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

Code

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

Related colors

Royal Blue #4169e1
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff

Frequently asked questions

#21294e (#21294e) is rgb(33, 41, 78) in RGB.

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