Color #281f3b
A muted very dark blue.
Conversions
#281f3b
rgb(40, 31, 59)
hsl(259.3, 31.1%, 17.6%)
hsv(259.3, 47.5%, 23.1%)
cmyk(32.2%, 47.5%, 0%, 76.9%)
lab(14.1, 11.77, -16.53)
lch(14.1, 20.29, 305.45)
oklch(26.4%, 0.0521, 297.55)
hwb(259.3, 12.2%, 76.9%)
Harmony colors
Accessibility
White text reads better on this background (15.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242436 · ΔE 6.2
Deuteranopia
#252634 · ΔE 8.4
Tritanopia
#283130 · ΔE 19.5
Achromatopsia
#242424 · ΔE 15.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281f3b;
bg-[#281f3b]
Related colors
Frequently asked questions
#281f3b (#281f3b) is rgb(40, 31, 59) in RGB.
No, #281f3b 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 #281f3b, or check how it holds up for accessibility.