Color #222837
A muted very dark blue.
Conversions
#222837
rgb(34, 40, 55)
hsl(222.9, 23.6%, 17.5%)
hsv(222.9, 38.2%, 21.6%)
cmyk(38.2%, 27.3%, 0%, 78.4%)
lab(16.17, 1.8, -10.54)
lch(16.17, 10.69, 279.69)
oklch(27.8%, 0.0291, 267.64)
hwb(222.9, 13.3%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (14.72:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252534 · ΔE 3.3
Deuteranopia
#242433 · ΔE 3.4
Tritanopia
#223131 · ΔE 12
Achromatopsia
#282828 · ΔE 8.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #222837;
bg-[#222837]
Related colors
Frequently asked questions
#222837 (#222837) is rgb(34, 40, 55) in RGB.
No, #222837 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 #222837, or check how it holds up for accessibility.