Color #281a5b
A moderately saturated dark blue.
Conversions
#281a5b
rgb(40, 26, 91)
hsl(252.9, 55.6%, 22.9%)
hsv(252.9, 71.4%, 35.7%)
cmyk(56%, 71.4%, 0%, 64.3%)
lab(15.2, 25.84, -36.77)
lch(15.2, 44.94, 305.1)
oklch(28%, 0.1102, 286.87)
hwb(252.9, 10.2%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (15.12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#232351 · ΔE 5.1
Deuteranopia
#23244e · ΔE 6.1
Tritanopia
#274745 · ΔE 27.1
Achromatopsia
#262626 · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281a5b;
bg-[#281a5b]
Related colors
Frequently asked questions
#281a5b (#281a5b) is rgb(40, 26, 91) in RGB.
No, #281a5b 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 #281a5b, or check how it holds up for accessibility.