Color #222a4e
A muted dark blue.
Conversions
#222a4e
rgb(34, 42, 78)
hsl(229.1, 39.3%, 22%)
hsv(229.1, 56.4%, 30.6%)
cmyk(56.4%, 46.2%, 0%, 69.4%)
lab(18.12, 8.47, -23.32)
lch(18.12, 24.81, 289.96)
oklch(29.7%, 0.0662, 272.34)
hwb(229.1, 13.3%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (13.91:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262647 · ΔE 2.9
Deuteranopia
#252545 · ΔE 3.2
Tritanopia
#224140 · ΔE 22.6
Achromatopsia
#2c2c2c · ΔE 16.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #222a4e;
bg-[#222a4e]
Related colors
Frequently asked questions
#222a4e (#222a4e) is rgb(34, 42, 78) in RGB.
No, #222a4e 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 #222a4e, or check how it holds up for accessibility.