#3B31CE#3B31CE

#3B31CE is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.6% C 0.228 H 274.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3B31CE
RGBrgb(59, 49, 206)
HSLhsl(244, 62%, 50%)
HSVhsv(244, 76%, 81%)
CMYKcmyk(71.4%, 76.2%, 0%, 19.2%)
CIE-LABlab(33.10, 52.68, -78.50)
CIE-LCHlch(33.10, 94.54, 303.87°)
OKLaboklab(44.61% 0.019 -0.227)
OKLCHoklch(44.61% 0.228 274.8)
XYZxyz(14.0388, 7.5813, 59.1040)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B31CE #C4CE31
analogous
#3175CE #3B31CE #8A31CE
triadic
#3B31CE #CE3B31 #31CE3B
tetradic
#3B31CE #CE3175 #C4CE31 #31CE8A
square
#3B31CE #CE3175 #C4CE31 #31CE8A
split-complementary
#3B31CE #CE8A31 #75CE31
monochromatic
#1F196B #2D259D #3B31CE #6A62DA #9994E6

Accessibility & contrast

On white

8.34
#3B31CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3B31CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B31CE
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B31CE#FFFFFF#000000##FFFFFF
##3B31CE1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D2
Deuteranopia (green-blind)
#0047CB
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3b31ce;
/* rgb */ color: rgb(59, 49, 206);
/* oklch */ color: oklch(44.6% 0.228 274.8);
Tailwind
colors: {
  custom: {
    50: '#876cde',
    500: '#3b31ce',
    950: '#000000',
  },
}
SCSS
$custom: #3b31ce;
$custom-light: #876cde;
$custom-dark: #000000;
JSON
{
  "hex": "#3b31ce",
  "rgb": {
    "r": 59,
    "g": 49,
    "b": 206
  },
  "hsl": {
    "h": 243.822,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.44612,
    "c": 0.22782,
    "h": 274.8
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#3B31CE
secondary
#CCD18A
accent
#E543DA
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3B31CE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3B31CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva