Color #282c42
A muted dark blue.
Conversions
#282c42
rgb(40, 44, 66)
hsl(230.8, 24.5%, 20.8%)
hsv(230.8, 39.4%, 25.9%)
cmyk(39.4%, 33.3%, 0%, 74.1%)
lab(18.57, 4.67, -14.42)
lch(18.57, 15.16, 287.94)
oklch(30%, 0.0403, 275.84)
hwb(230.8, 15.7%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (13.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a3d · ΔE 2.1
Deuteranopia
#2a293c · ΔE 2.5
Tritanopia
#283a39 · ΔE 16.8
Achromatopsia
#2d2d2d · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #282c42;
bg-[#282c42]
Related colors
Frequently asked questions
#282c42 (#282c42) is rgb(40, 44, 66) in RGB.
No, #282c42 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 #282c42, or check how it holds up for accessibility.