Color #2a58a1
A moderately saturated dark blue.
Conversions
#2a58a1
rgb(42, 88, 161)
hsl(216.8, 58.6%, 39.8%)
hsv(216.8, 73.9%, 63.1%)
cmyk(73.9%, 45.3%, 0%, 36.9%)
lab(37.92, 10.32, -44.14)
lch(37.92, 45.33, 283.16)
oklch(46.8%, 0.1286, 259.34)
hwb(216.8, 16.5%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (6.98:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#434393 · ΔE 10
Deuteranopia
#403c90 · ΔE 11.8
Tritanopia
#2e8885 · ΔE 30.2
Achromatopsia
#595959 · ΔE 22.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a58a1;
bg-[#2a58a1]
Related colors
Frequently asked questions
#2a58a1 (#2a58a1) is rgb(42, 88, 161) in RGB.
No, #2a58a1 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #2a58a1, or check how it holds up for accessibility.