Color #23316e
A moderately saturated dark blue.
Conversions
#23316e
rgb(35, 49, 110)
hsl(228.8, 51.7%, 28.4%)
hsv(228.8, 68.2%, 43.1%)
cmyk(68.2%, 55.5%, 0%, 56.9%)
lab(22.58, 15.98, -37.27)
lch(22.58, 40.55, 293.21)
oklch(33.9%, 0.107, 270.05)
hwb(228.8, 13.7%, 56.9%)
Harmony colors
Accessibility
White text reads better on this background (12.1:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a63 · ΔE 3.7
Deuteranopia
#292861 · ΔE 4.2
Tritanopia
#245a58 · ΔE 27.8
Achromatopsia
#363636 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #23316e;
bg-[#23316e]
Related colors
Frequently asked questions
#23316e (#23316e) is rgb(35, 49, 110) in RGB.
No, #23316e 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 #23316e, or check how it holds up for accessibility.