Color #28233e
A muted very dark blue.
Conversions
#28233e
rgb(40, 35, 62)
hsl(251.1, 27.8%, 19%)
hsv(251.1, 43.5%, 24.3%)
cmyk(35.5%, 43.5%, 0%, 75.7%)
lab(15.49, 9.82, -16.45)
lch(15.49, 19.16, 300.84)
oklch(27.5%, 0.0494, 291.26)
hwb(251.1, 13.7%, 75.7%)
Harmony colors
Accessibility
White text reads better on this background (15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262639 · ΔE 4.4
Deuteranopia
#262737 · ΔE 6.1
Tritanopia
#283433 · ΔE 19.3
Achromatopsia
#272727 · ΔE 14.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #28233e;
bg-[#28233e]
Related colors
Frequently asked questions
#28233e (#28233e) is rgb(40, 35, 62) in RGB.
No, #28233e 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 #28233e, or check how it holds up for accessibility.