Skip to content
Kolorvia
#311e68

Color #311e68

A moderately saturated dark blue.

Conversions

HEX
#311e68
RGB
rgb(49, 30, 104)
HSL
hsl(255.4, 55.2%, 26.3%)
HSV / HSB
hsv(255.4, 71.2%, 40.8%)
CMYK
cmyk(52.9%, 71.2%, 0%, 59.2%)
LAB
lab(18.28, 29.41, -40.3)
LCH
lch(18.28, 49.89, 306.12)
OKLCH
oklch(30.8%, 0.1222, 288.95)
HWB
hwb(255.4, 11.8%, 59.2%)

Harmony colors

Complementary

#55681e

Analogous

#1e3068
#311e68
#561e68

Triadic

#311e68
#68311e
#1e6831

Split-complementary

#311e68
#68561e
#30681e

Tetradic

#311e68
#681e55
#55681e
#1e6831

Square

#311e68
#681e30
#55681e
#1e6856

Shades

Color #311e68 mixed toward black.

#291957
#211445
#190f34
#100a23
#080511

Tints

Color #311e68 mixed toward white.

#482c99
#603dc7
#886dd5
#b09ee3
#d7cef1

Tones

Color #311e68 mixed toward gray.

#342462
#372a5c
#3a3156
#3d374f
#403d49

Accessibility

Aa White text on this color
13.85:1
Aa Black text on this color
1.52:1

White text reads better on this background (13.85:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#2a2a5c · ΔE 6.1

Deuteranopia

#2b2c59 · ΔE 7.3

Tritanopia

#30524f · ΔE 28.6

Achromatopsia

#2d2d2d · ΔE 24.1

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #311e68;
Tailwind (arbitrary value)
bg-[#311e68]

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Navy #000080

Frequently asked questions

#311e68 (#311e68) is rgb(49, 30, 104) in RGB.

No, #311e68 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #311e68, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.