Color #22226c
A moderately saturated dark blue.
Conversions
#22226c
rgb(34, 34, 108)
hsl(240, 52.1%, 27.8%)
hsv(240, 68.5%, 42.4%)
cmyk(68.5%, 68.5%, 0%, 57.6%)
lab(18.22, 25.52, -43.07)
lch(18.22, 50.06, 300.65)
oklch(30.6%, 0.1249, 276.07)
hwb(240, 13.3%, 57.6%)
Harmony colors
Accessibility
White text reads better on this background (13.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#222260 · ΔE 2.4
Deuteranopia
#22225d · ΔE 3
Tritanopia
#225653 · ΔE 30.4
Achromatopsia
#2c2c2c · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #22226c;
bg-[#22226c]
Related colors
Frequently asked questions
#22226c (#22226c) is rgb(34, 34, 108) in RGB.
No, #22226c 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 #22226c, or check how it holds up for accessibility.