Color #285c8e
A moderately saturated dark blue.
Conversions
#285c8e
rgb(40, 92, 142)
hsl(209.4, 56%, 35.7%)
hsv(209.4, 71.8%, 55.7%)
cmyk(71.8%, 35.2%, 0%, 44.3%)
lab(37.95, 0.19, -32.68)
lch(37.95, 32.68, 270.33)
oklch(46.4%, 0.0986, 250.02)
hwb(209.4, 15.7%, 44.3%)
Harmony colors
Accessibility
White text reads better on this background (6.97:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#444584 · ΔE 12.4
Deuteranopia
#413d82 · ΔE 14.4
Tritanopia
#2c7b79 · ΔE 23.3
Achromatopsia
#595959 · ΔE 18.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #285c8e;
bg-[#285c8e]
Related colors
Frequently asked questions
#285c8e (#285c8e) is rgb(40, 92, 142) in RGB.
No, #285c8e 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 #285c8e, or check how it holds up for accessibility.