Color #282a3f
A muted dark blue.
Conversions
#282a3f
rgb(40, 42, 63)
hsl(234.8, 22.3%, 20.2%)
hsv(234.8, 36.5%, 24.7%)
cmyk(36.5%, 33.3%, 0%, 75.3%)
lab(17.76, 5.12, -13.6)
lch(17.76, 14.53, 290.63)
oklch(29.3%, 0.0383, 279.61)
hwb(234.8, 15.7%, 75.3%)
Harmony colors
Accessibility
White text reads better on this background (14.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#29293b · ΔE 1.5
Deuteranopia
#29293a · ΔE 1.9
Tritanopia
#283736 · ΔE 16.3
Achromatopsia
#2b2b2b · ΔE 11.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #282a3f;
bg-[#282a3f]
Related colors
Frequently asked questions
#282a3f (#282a3f) is rgb(40, 42, 63) in RGB.
No, #282a3f 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 #282a3f, or check how it holds up for accessibility.