Color #283f86
A moderately saturated dark blue.
Conversions
#283f86
rgb(40, 63, 134)
hsl(225.3, 54%, 34.1%)
hsv(225.3, 70.1%, 52.5%)
cmyk(70.1%, 53%, 0%, 47.5%)
lab(28.71, 16.4, -42.52)
lch(28.71, 45.57, 291.09)
oklch(39.1%, 0.1223, 267.09)
hwb(225.3, 15.7%, 47.5%)
Harmony colors
Accessibility
White text reads better on this background (9.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#333479 · ΔE 5.1
Deuteranopia
#323076 · ΔE 6.3
Tritanopia
#296e6c · ΔE 29.6
Achromatopsia
#444444 · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #283f86;
bg-[#283f86]
Related colors
Frequently asked questions
#283f86 (#283f86) is rgb(40, 63, 134) in RGB.
No, #283f86 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 #283f86, or check how it holds up for accessibility.