Color #25497f
A moderately saturated dark blue.
Conversions
#25497f
rgb(37, 73, 127)
hsl(216, 54.9%, 32.2%)
hsv(216, 70.9%, 49.8%)
cmyk(70.9%, 42.5%, 0%, 50.2%)
lab(31.09, 6.36, -34.36)
lch(31.09, 34.94, 280.49)
oklch(40.8%, 0.1, 258.41)
hwb(216, 14.5%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (8.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#383875 · ΔE 8.8
Deuteranopia
#363372 · ΔE 10.1
Tritanopia
#286c6a · ΔE 25.4
Achromatopsia
#494949 · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #25497f;
bg-[#25497f]
Related colors
Frequently asked questions
#25497f (#25497f) is rgb(37, 73, 127) in RGB.
No, #25497f 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 #25497f, or check how it holds up for accessibility.