Skip to content
Kolorvia
#331fc0

Color #331fc0

A vivid, highly saturated medium blue.

Conversions

HEX
#331fc0
RGB
rgb(51, 31, 192)
HSL
hsl(247.5, 72.2%, 43.7%)
HSV / HSB
hsv(247.5, 83.9%, 75.3%)
CMYK
cmyk(73.4%, 83.9%, 0%, 24.7%)
LAB
lab(28.08, 56.32, -78.62)
LCH
lch(28.08, 96.71, 305.62)
OKLCH
oklch(40.5%, 0.2281, 274.73)
HWB
hwb(247.5, 12.2%, 24.7%)

Harmony colors

Complementary

#acc01f

Analogous

#1f5bc0
#331fc0
#841fc0

Triadic

#331fc0
#c0331f
#1fc033

Split-complementary

#331fc0
#c0841f
#5bc01f

Tetradic

#331fc0
#c01fac
#acc01f
#1fc033

Square

#331fc0
#c01f5b
#acc01f
#1fc084

Shades

Color #331fc0 mixed toward black.

#2b1aa0
#221580
#1a0f60
#110a40
#090520

Tints

Color #331fc0 mixed toward white.

#4731de
#6b5ae4
#9083eb
#b5adf2
#dad6f8

Tones

Color #331fc0 mixed toward gray.

#3d2cb2
#473aa5
#514798
#5b558a
#65627d

Accessibility

Aa White text on this color
10.01:1
Aa Black text on this color
2.1:1

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

Under color vision deficiencies

Protanopia

#2c2baa · ΔE 3.8

Deuteranopia

#2d2ea4 · ΔE 4.9

Tritanopia

#329691 · ΔE 45.1

Achromatopsia

#424242 · ΔE 30.5

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

Code

CSS
background-color: #331fc0;
Tailwind (arbitrary value)
bg-[#331fc0]

Related colors

Slate Blue #6a5acd
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#331fc0 (#331fc0) is rgb(51, 31, 192) in RGB.

No, #331fc0 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #331fc0, 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.