Color #28243a
A muted very dark blue.
Conversions
#28243a
rgb(40, 36, 58)
hsl(250.9, 23.4%, 18.4%)
hsv(250.9, 37.9%, 22.7%)
cmyk(31%, 37.9%, 0%, 77.3%)
lab(15.58, 7.85, -13.51)
lch(15.58, 15.63, 300.16)
oklch(27.5%, 0.0404, 291.8)
hwb(250.9, 14.1%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (14.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262636 · ΔE 3.7
Deuteranopia
#272734 · ΔE 5.2
Tritanopia
#283231 · ΔE 17
Achromatopsia
#272727 · ΔE 12.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28243a;
bg-[#28243a]
Related colors
Frequently asked questions
#28243a (#28243a) is rgb(40, 36, 58) in RGB.
No, #28243a 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 #28243a, or check how it holds up for accessibility.