Color #283b66
A moderately saturated dark blue.
Conversions
#283b66
rgb(40, 59, 102)
hsl(221.6, 43.7%, 27.8%)
hsv(221.6, 60.8%, 40%)
cmyk(60.8%, 42.2%, 0%, 60%)
lab(25.38, 6.94, -27.62)
lch(25.38, 28.48, 284.1)
oklch(35.9%, 0.0787, 264.75)
hwb(221.6, 15.7%, 60%)
Harmony colors
Accessibility
White text reads better on this background (11.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#31315e · ΔE 5.7
Deuteranopia
#302f5c · ΔE 6.2
Tritanopia
#295755 · ΔE 23.8
Achromatopsia
#3c3c3c · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #283b66;
bg-[#283b66]
Related colors
Frequently asked questions
#283b66 (#283b66) is rgb(40, 59, 102) in RGB.
No, #283b66 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 #283b66, or check how it holds up for accessibility.