Color #253258
A moderately saturated dark blue.
Conversions
#253258
rgb(37, 50, 88)
hsl(224.7, 40.8%, 24.5%)
hsv(224.7, 58%, 34.5%)
cmyk(58%, 43.2%, 0%, 65.5%)
lab(21.5, 7.27, -24.63)
lch(21.5, 25.68, 286.44)
oklch(32.6%, 0.0698, 268.11)
hwb(224.7, 14.5%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (12.53:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b51 · ΔE 4.3
Deuteranopia
#2a294f · ΔE 4.9
Tritanopia
#264a49 · ΔE 22.6
Achromatopsia
#343434 · ΔE 16.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #253258;
bg-[#253258]
Related colors
Frequently asked questions
#253258 (#253258) is rgb(37, 50, 88) in RGB.
No, #253258 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 #253258, or check how it holds up for accessibility.