Color #242538
A muted very dark blue.
Conversions
#242538
rgb(36, 37, 56)
hsl(237, 21.7%, 18%)
hsv(237, 35.7%, 22%)
cmyk(35.7%, 33.9%, 0%, 78%)
lab(15.4, 5.01, -12.42)
lch(15.4, 13.39, 291.97)
oklch(27.3%, 0.0351, 281.5)
hwb(237, 14.1%, 78%)
Harmony colors
Accessibility
White text reads better on this background (15.03:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242434 · ΔE 1.4
Deuteranopia
#242433 · ΔE 1.9
Tritanopia
#243130 · ΔE 15.4
Achromatopsia
#272727 · ΔE 10.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #242538;
bg-[#242538]
Related colors
Frequently asked questions
#242538 (#242538) is rgb(36, 37, 56) in RGB.
No, #242538 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 #242538, or check how it holds up for accessibility.