Color #2b214e
A moderately saturated dark blue.
Conversions
#2b214e
rgb(43, 33, 78)
hsl(253.3, 40.5%, 21.8%)
hsv(253.3, 57.7%, 30.6%)
cmyk(44.9%, 57.7%, 0%, 69.4%)
lab(16.26, 17.45, -26.24)
lch(16.26, 31.51, 303.62)
oklch(28.5%, 0.0796, 290.67)
hwb(253.3, 12.9%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (14.68:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272746 · ΔE 5.1
Deuteranopia
#282844 · ΔE 6.1
Tritanopia
#2b3f3d · ΔE 24.6
Achromatopsia
#282828 · ΔE 19.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b214e;
bg-[#2b214e]
Related colors
Frequently asked questions
#2b214e (#2b214e) is rgb(43, 33, 78) in RGB.
No, #2b214e 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 #2b214e, or check how it holds up for accessibility.