Color #212a3d
A muted very dark blue.
Conversions
#212a3d
rgb(33, 42, 61)
hsl(220.7, 29.8%, 18.4%)
hsv(220.7, 45.9%, 23.9%)
cmyk(45.9%, 31.1%, 0%, 76.1%)
lab(17.07, 2.04, -13.35)
lch(17.07, 13.5, 278.69)
oklch(28.6%, 0.0374, 264.63)
hwb(220.7, 12.9%, 76.1%)
Harmony colors
Accessibility
White text reads better on this background (14.35:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252539 · ΔE 4.8
Deuteranopia
#252438 · ΔE 5.3
Tritanopia
#223635 · ΔE 14.7
Achromatopsia
#2a2a2a · ΔE 10.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #212a3d;
bg-[#212a3d]
Related colors
Frequently asked questions
#212a3d (#212a3d) is rgb(33, 42, 61) in RGB.
No, #212a3d 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 #212a3d, or check how it holds up for accessibility.