Color #2a467e
A moderately saturated dark blue.
Conversions
#2a467e
rgb(42, 70, 126)
hsl(220, 50%, 32.9%)
hsv(220, 66.7%, 49.4%)
cmyk(66.7%, 44.4%, 0%, 50.6%)
lab(30.35, 8.9, -34.91)
lch(30.35, 36.03, 284.3)
oklch(40.3%, 0.1004, 262.73)
hwb(220, 16.5%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (9.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#383873 · ΔE 7.2
Deuteranopia
#363471 · ΔE 8.1
Tritanopia
#2c6a68 · ΔE 26.1
Achromatopsia
#474747 · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a467e;
bg-[#2a467e]
Related colors
Frequently asked questions
#2a467e (#2a467e) is rgb(42, 70, 126) in RGB.
No, #2a467e 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 #2a467e, or check how it holds up for accessibility.