Color #2a3a69
A moderately saturated dark blue.
Conversions
#2a3a69
rgb(42, 58, 105)
hsl(224.8, 42.9%, 28.8%)
hsv(224.8, 60%, 41.2%)
cmyk(60%, 44.8%, 0%, 58.8%)
lab(25.38, 9.22, -29.54)
lch(25.38, 30.95, 287.33)
oklch(36%, 0.0841, 267.89)
hwb(224.8, 16.5%, 58.8%)
Harmony colors
Accessibility
White text reads better on this background (11.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323260 · ΔE 4.7
Deuteranopia
#312f5e · ΔE 5.5
Tritanopia
#2b5857 · ΔE 24.3
Achromatopsia
#3c3c3c · ΔE 18.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a3a69;
bg-[#2a3a69]
Related colors
Frequently asked questions
#2a3a69 (#2a3a69) is rgb(42, 58, 105) in RGB.
No, #2a3a69 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 #2a3a69, or check how it holds up for accessibility.