Color #21294e
A moderately saturated dark blue.
Conversions
#21294e
rgb(33, 41, 78)
hsl(229.3, 40.5%, 21.8%)
hsv(229.3, 57.7%, 30.6%)
cmyk(57.7%, 47.4%, 0%, 69.4%)
lab(17.73, 8.93, -23.95)
lch(17.73, 25.56, 290.45)
oklch(29.4%, 0.0681, 272.36)
hwb(229.3, 12.9%, 69.4%)
Harmony colors
Accessibility
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
background-color: #21294e;
bg-[#21294e]
Related colors
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
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #21294e, or check how it holds up for accessibility.