Color #281e49
A moderately saturated dark blue.
Conversions
#281e49
rgb(40, 30, 73)
hsl(254, 41.7%, 20.2%)
hsv(254, 58.9%, 28.6%)
cmyk(45.2%, 58.9%, 0%, 71.4%)
lab(14.74, 17.03, -25.28)
lch(14.74, 30.48, 303.97)
oklch(27.2%, 0.077, 291.1)
hwb(254, 11.8%, 71.4%)
Harmony colors
Accessibility
White text reads better on this background (15.3:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242441 · ΔE 5.4
Deuteranopia
#252540 · ΔE 6.1
Tritanopia
#283b39 · ΔE 24.4
Achromatopsia
#252525 · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281e49;
bg-[#281e49]
Related colors
Frequently asked questions
#281e49 (#281e49) is rgb(40, 30, 73) in RGB.
No, #281e49 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 #281e49, or check how it holds up for accessibility.