Color #2d5d97
A moderately saturated dark blue.
Conversions
#2d5d97
rgb(45, 93, 151)
hsl(212.8, 54.1%, 38.4%)
hsv(212.8, 70.2%, 59.2%)
cmyk(70.2%, 38.4%, 0%, 40.8%)
lab(38.93, 3.74, -36.53)
lch(38.93, 36.72, 275.85)
oklch(47.4%, 0.1078, 254.56)
hwb(212.8, 17.6%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (6.72:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#47478c · ΔE 11.4
Deuteranopia
#444089 · ΔE 13.1
Tritanopia
#318280 · ΔE 25.7
Achromatopsia
#5c5c5c · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d5d97;
bg-[#2d5d97]
Related colors
Frequently asked questions
#2d5d97 (#2d5d97) is rgb(45, 93, 151) in RGB.
No, #2d5d97 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 #2d5d97, or check how it holds up for accessibility.