Color #252a4e
A muted dark blue.
Conversions
#252a4e
rgb(37, 42, 78)
hsl(232.7, 35.7%, 22.5%)
hsv(232.7, 52.6%, 30.6%)
cmyk(52.6%, 46.2%, 0%, 69.4%)
lab(18.36, 9.3, -22.93)
lch(18.36, 24.74, 292.08)
oklch(30%, 0.0652, 275.81)
hwb(232.7, 14.5%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (13.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272747 · ΔE 2.2
Deuteranopia
#272745 · ΔE 2.7
Tritanopia
#254140 · ΔE 22.7
Achromatopsia
#2d2d2d · ΔE 16.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #252a4e;
bg-[#252a4e]
Related colors
Frequently asked questions
#252a4e (#252a4e) is rgb(37, 42, 78) in RGB.
No, #252a4e 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 #252a4e, or check how it holds up for accessibility.