Color #281c67
A moderately saturated dark blue.
Conversions
#281c67
rgb(40, 28, 103)
hsl(249.6, 57.3%, 25.7%)
hsv(249.6, 72.8%, 40.4%)
cmyk(61.2%, 72.8%, 0%, 59.6%)
lab(16.8, 28.65, -42.1)
lch(16.8, 50.92, 304.24)
oklch(29.5%, 0.1244, 282.96)
hwb(249.6, 11%, 59.6%)
Harmony colors
Accessibility
White text reads better on this background (14.46:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#23235b · ΔE 4.3
Deuteranopia
#242558 · ΔE 5.4
Tritanopia
#27514e · ΔE 29.7
Achromatopsia
#292929 · ΔE 24.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281c67;
bg-[#281c67]
Related colors
Frequently asked questions
#281c67 (#281c67) is rgb(40, 28, 103) in RGB.
No, #281c67 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 #281c67, or check how it holds up for accessibility.