Color #222a67
A moderately saturated dark blue.
Conversions
#222a67
rgb(34, 42, 103)
hsl(233, 50.4%, 26.9%)
hsv(233, 67%, 40.4%)
cmyk(67%, 59.2%, 0%, 59.6%)
lab(19.94, 18.04, -37)
lch(19.94, 41.16, 295.99)
oklch(31.7%, 0.1065, 273.12)
hwb(233, 13.3%, 59.6%)
Harmony colors
Accessibility
White text reads better on this background (13.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#26265d · ΔE 2.5
Deuteranopia
#25255a · ΔE 3
Tritanopia
#225351 · ΔE 27.7
Achromatopsia
#303030 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #222a67;
bg-[#222a67]
Related colors
Frequently asked questions
#222a67 (#222a67) is rgb(34, 42, 103) in RGB.
No, #222a67 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 #222a67, or check how it holds up for accessibility.