Color #282e51
A muted dark blue.
Conversions
#282e51
rgb(40, 46, 81)
hsl(231.2, 33.9%, 23.7%)
hsv(231.2, 50.6%, 31.8%)
cmyk(50.6%, 43.2%, 0%, 68.2%)
lab(20.04, 8.38, -22.27)
lch(20.04, 23.79, 290.62)
oklch(31.4%, 0.0631, 274.82)
hwb(231.2, 15.7%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (13.13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b4a · ΔE 2.5
Deuteranopia
#2a2a49 · ΔE 2.6
Tritanopia
#284443 · ΔE 22.1
Achromatopsia
#303030 · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #282e51;
bg-[#282e51]
Related colors
Frequently asked questions
#282e51 (#282e51) is rgb(40, 46, 81) in RGB.
No, #282e51 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 #282e51, or check how it holds up for accessibility.