Color #281c4e
A moderately saturated dark blue.
Conversions
#281c4e
rgb(40, 28, 78)
hsl(254.4, 47.2%, 20.8%)
hsv(254.4, 64.1%, 30.6%)
cmyk(48.7%, 64.1%, 0%, 69.4%)
lab(14.58, 20.1, -28.97)
lch(14.58, 35.26, 304.75)
oklch(27.2%, 0.0881, 290.39)
hwb(254.4, 11%, 69.4%)
Harmony colors
Accessibility
White text reads better on this background (15.37:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#232346 · ΔE 5.1
Deuteranopia
#242543 · ΔE 6.8
Tritanopia
#273e3c · ΔE 25.3
Achromatopsia
#252525 · ΔE 21
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281c4e;
bg-[#281c4e]
Related colors
Frequently asked questions
#281c4e (#281c4e) is rgb(40, 28, 78) in RGB.
No, #281c4e 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 #281c4e, or check how it holds up for accessibility.