Color #252f4f
A muted dark blue.
Conversions
#252f4f
rgb(37, 47, 79)
hsl(225.7, 36.2%, 22.7%)
hsv(225.7, 53.2%, 31%)
cmyk(53.2%, 40.5%, 0%, 69%)
lab(20.01, 6.09, -21)
lch(20.01, 21.87, 286.17)
oklch(31.3%, 0.0592, 269.61)
hwb(225.7, 14.5%, 69%)
Harmony colors
Accessibility
White text reads better on this background (13.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a49 · ΔE 3.8
Deuteranopia
#292847 · ΔE 4.3
Tritanopia
#264342 · ΔE 20.8
Achromatopsia
#303030 · ΔE 15.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #252f4f;
bg-[#252f4f]
Related colors
Frequently asked questions
#252f4f (#252f4f) is rgb(37, 47, 79) in RGB.
No, #252f4f 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 #252f4f, or check how it holds up for accessibility.