Color #242a4c
A muted dark blue.
Conversions
#242a4c
rgb(36, 42, 76)
hsl(231, 35.7%, 22%)
hsv(231, 52.6%, 29.8%)
cmyk(52.6%, 44.7%, 0%, 70.2%)
lab(18.16, 8.29, -21.91)
lch(18.16, 23.43, 290.72)
oklch(29.8%, 0.0621, 274.43)
hwb(231, 14.1%, 70.2%)
Harmony colors
Accessibility
White text reads better on this background (13.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272746 · ΔE 2.4
Deuteranopia
#262644 · ΔE 2.6
Tritanopia
#24403f · ΔE 22.1
Achromatopsia
#2c2c2c · ΔE 16
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #242a4c;
bg-[#242a4c]
Related colors
Frequently asked questions
#242a4c (#242a4c) is rgb(36, 42, 76) in RGB.
No, #242a4c 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 #242a4c, or check how it holds up for accessibility.