Color #222227
A nearly neutral, gray-leaning very dark blue.
Conversions
#222227
rgb(34, 34, 39)
hsl(240, 6.8%, 14.3%)
hsv(240, 12.8%, 15.3%)
cmyk(12.8%, 12.8%, 0%, 84.7%)
lab(13.42, 1.3, -3.34)
lch(13.42, 3.58, 291.27)
oklch(25.4%, 0.0093, 285.52)
hwb(240, 13.3%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (15.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#222226 · ΔE 0.7
Deuteranopia
#222226 · ΔE 0.7
Tritanopia
#222525 · ΔE 4.6
Achromatopsia
#222222 · ΔE 3.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #222227;
bg-[#222227]
Related colors
Frequently asked questions
#222227 (#222227) is rgb(34, 34, 39) in RGB.
No, #222227 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 #222227, or check how it holds up for accessibility.