Color #252f52
A muted dark blue.
Conversions
#252f52
rgb(37, 47, 82)
hsl(226.7, 37.8%, 23.3%)
hsv(226.7, 54.9%, 32.2%)
cmyk(54.9%, 42.7%, 0%, 67.8%)
lab(20.18, 7.18, -22.73)
lch(20.18, 23.84, 287.53)
oklch(31.5%, 0.0643, 270.36)
hwb(226.7, 14.5%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (13.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a4b · ΔE 3.6
Deuteranopia
#29284a · ΔE 4.1
Tritanopia
#264544 · ΔE 21.9
Achromatopsia
#313131 · ΔE 16
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #252f52;
bg-[#252f52]
Related colors
Frequently asked questions
#252f52 (#252f52) is rgb(37, 47, 82) in RGB.
No, #252f52 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 #252f52, or check how it holds up for accessibility.