Color #242c58
A moderately saturated dark blue.
Conversions
#242c58
rgb(36, 44, 88)
hsl(230.8, 41.9%, 24.3%)
hsv(230.8, 59.1%, 34.5%)
cmyk(59.1%, 50%, 0%, 65.5%)
lab(19.56, 11.3, -27.73)
lch(19.56, 29.94, 292.17)
oklch(31.1%, 0.0791, 273.19)
hwb(230.8, 14.1%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (13.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282850 · ΔE 2.8
Deuteranopia
#27274e · ΔE 3
Tritanopia
#244947 · ΔE 24.9
Achromatopsia
#2f2f2f · ΔE 18.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #242c58;
bg-[#242c58]
Related colors
Frequently asked questions
#242c58 (#242c58) is rgb(36, 44, 88) in RGB.
No, #242c58 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 #242c58, or check how it holds up for accessibility.