Color #281d4d
A moderately saturated dark blue.
Conversions
#281d4d
rgb(40, 29, 77)
hsl(253.8, 45.3%, 20.8%)
hsv(253.8, 62.3%, 30.2%)
cmyk(48.1%, 62.3%, 0%, 69.8%)
lab(14.77, 19.07, -27.98)
lch(14.77, 33.86, 304.28)
oklch(27.3%, 0.0849, 290.18)
hwb(253.8, 11.4%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (15.29:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242445 · ΔE 5.2
Deuteranopia
#242543 · ΔE 6.3
Tritanopia
#283d3c · ΔE 24.3
Achromatopsia
#252525 · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281d4d;
bg-[#281d4d]
Related colors
Frequently asked questions
#281d4d (#281d4d) is rgb(40, 29, 77) in RGB.
No, #281d4d 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 #281d4d, or check how it holds up for accessibility.