Color #1f253a
A muted very dark blue.
Conversions
#1f253a
rgb(31, 37, 58)
hsl(226.7, 30.3%, 17.5%)
hsv(226.7, 46.6%, 22.7%)
cmyk(46.6%, 36.2%, 0%, 77.3%)
lab(15.06, 3.93, -14.39)
lch(15.06, 14.92, 285.28)
oklch(26.9%, 0.0402, 271.28)
hwb(226.7, 12.2%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (15.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#222236 · ΔE 2.8
Deuteranopia
#212135 · ΔE 2.9
Tritanopia
#1f3231 · ΔE 16.4
Achromatopsia
#262626 · ΔE 11.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1f253a;
bg-[#1f253a]
Related colors
Frequently asked questions
#1f253a (#1f253a) is rgb(31, 37, 58) in RGB.
No, #1f253a 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 #1f253a, or check how it holds up for accessibility.