Color #282f6e
A moderately saturated dark blue.
Conversions
#282f6e
rgb(40, 47, 110)
hsl(234, 46.7%, 29.4%)
hsv(234, 63.6%, 43.1%)
cmyk(63.6%, 57.3%, 0%, 56.9%)
lab(22.34, 18.35, -37.65)
lch(22.34, 41.88, 295.98)
oklch(33.8%, 0.1083, 274.29)
hwb(234, 15.7%, 56.9%)
Harmony colors
Accessibility
White text reads better on this background (12.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b63 · ΔE 2.6
Deuteranopia
#2b2a60 · ΔE 3.2
Tritanopia
#285957 · ΔE 27.9
Achromatopsia
#353535 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #282f6e;
bg-[#282f6e]
Related colors
Frequently asked questions
#282f6e (#282f6e) is rgb(40, 47, 110) in RGB.
No, #282f6e 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 #282f6e, or check how it holds up for accessibility.