Color #212946
A muted dark blue.
Conversions
#212946
rgb(33, 41, 70)
hsl(227, 35.9%, 20.2%)
hsv(227, 52.9%, 27.5%)
cmyk(52.9%, 41.4%, 0%, 72.5%)
lab(17.23, 5.96, -19.29)
lch(17.23, 20.19, 287.17)
oklch(28.9%, 0.0544, 270.95)
hwb(227, 12.9%, 72.5%)
Harmony colors
Accessibility
White text reads better on this background (14.28:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252540 · ΔE 3.2
Deuteranopia
#24243f · ΔE 3.3
Tritanopia
#213b3a · ΔE 20.1
Achromatopsia
#2a2a2a · ΔE 14.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #212946;
bg-[#212946]
Related colors
Frequently asked questions
#212946 (#212946) is rgb(33, 41, 70) in RGB.
No, #212946 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 #212946, or check how it holds up for accessibility.