Color #302458
A moderately saturated dark blue.
Conversions
#302458
rgb(48, 36, 88)
hsl(253.8, 41.9%, 24.3%)
hsv(253.8, 59.1%, 34.5%)
cmyk(45.5%, 59.1%, 0%, 65.5%)
lab(18.34, 20.06, -29.62)
lch(18.34, 35.77, 304.11)
oklch(30.4%, 0.09, 290.69)
hwb(253.8, 14.1%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (13.83:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b4f · ΔE 5.2
Deuteranopia
#2c2d4d · ΔE 6.5
Tritanopia
#2f4745 · ΔE 25.4
Achromatopsia
#2d2d2d · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #302458;
bg-[#302458]
Related colors
Frequently asked questions
#302458 (#302458) is rgb(48, 36, 88) in RGB.
No, #302458 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 #302458, or check how it holds up for accessibility.