Color #252a46
A muted dark blue.
Conversions
#252a46
rgb(37, 42, 70)
hsl(230.9, 30.8%, 21%)
hsv(230.9, 47.1%, 27.5%)
cmyk(47.1%, 40%, 0%, 72.5%)
lab(17.88, 6.46, -18.25)
lch(17.88, 19.36, 289.49)
oklch(29.4%, 0.0514, 275.13)
hwb(230.9, 14.5%, 72.5%)
Harmony colors
Accessibility
White text reads better on this background (14.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272740 · ΔE 2.3
Deuteranopia
#27273f · ΔE 2.4
Tritanopia
#253c3b · ΔE 19.9
Achromatopsia
#2c2c2c · ΔE 14.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #252a46;
bg-[#252a46]
Related colors
Frequently asked questions
#252a46 (#252a46) is rgb(37, 42, 70) in RGB.
No, #252a46 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 #252a46, or check how it holds up for accessibility.