Color #28223f
A muted very dark blue.
Conversions
#28223f
rgb(40, 34, 63)
hsl(252.4, 29.9%, 19%)
hsv(252.4, 46%, 24.7%)
cmyk(36.5%, 46%, 0%, 75.3%)
lab(15.24, 10.87, -17.54)
lch(15.24, 20.64, 301.79)
oklch(27.4%, 0.053, 292.06)
hwb(252.4, 13.3%, 75.3%)
Harmony colors
Accessibility
White text reads better on this background (15.1:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262539 · ΔE 4.5
Deuteranopia
#262638 · ΔE 5.7
Tritanopia
#283533 · ΔE 20.8
Achromatopsia
#262626 · ΔE 15.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28223f;
bg-[#28223f]
Related colors
Frequently asked questions
#28223f (#28223f) is rgb(40, 34, 63) in RGB.
No, #28223f 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 #28223f, or check how it holds up for accessibility.