Color #310fa4
A vivid, highly saturated dark blue.
Conversions
#310fa4
rgb(49, 15, 164)
hsl(253.7, 83.2%, 35.1%)
hsv(253.7, 90.9%, 64.3%)
cmyk(70.1%, 90.9%, 0%, 35.7%)
lab(22.56, 54.14, -71.03)
lch(22.56, 89.31, 307.32)
oklch(35.8%, 0.2071, 278.19)
hwb(253.7, 5.9%, 35.7%)
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
#262691 · ΔE 5.3
Deuteranopia
#282a8c · ΔE 6.7
Tritanopia
#307f7b · ΔE 40.9
Achromatopsia
#363636 · ΔE 29.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #310fa4;
bg-[#310fa4]
Related colors
Frequently asked questions
#310fa4 (#310fa4) is rgb(49, 15, 164) in RGB.
No, #310fa4 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 #310fa4, or check how it holds up for accessibility.