#3D31CE#3D31CE

#3D31CE is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.7% C 0.227 H 275.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3D31CE
RGBrgb(61, 49, 206)
HSLhsl(245, 62%, 50%)
HSVhsv(245, 76%, 81%)
CMYKcmyk(70.4%, 76.2%, 0%, 19.2%)
CIE-LABlab(33.23, 52.86, -78.28)
CIE-LCHlch(33.23, 94.45, 304.03°)
OKLaboklab(44.74% 0.0215 -0.2263)
OKLCHoklch(44.74% 0.227 275.4)
XYZxyz(14.1597, 7.6436, 59.1097)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D31CE #C2CE31
analogous
#3173CE #3D31CE #8C31CE
triadic
#3D31CE #CE3D31 #31CE3D
tetradic
#3D31CE #CE3173 #C2CE31 #31CE8C
square
#3D31CE #CE3173 #C2CE31 #31CE8C
split-complementary
#3D31CE #CE8C31 #73CE31
monochromatic
#20196B #2E259D #3D31CE #6C62DA #9A94E6

Accessibility & contrast

On white

8.30
#3D31CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3D31CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D31CE
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D31CE#FFFFFF#000000##FFFFFF
##3D31CE1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.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: #3d31ce;
/* rgb */ color: rgb(61, 49, 206);
/* oklch */ color: oklch(44.7% 0.227 275.4);
Tailwind
colors: {
  custom: {
    50: '#886cde',
    500: '#3d31ce',
    950: '#000000',
  },
}
SCSS
$custom: #3d31ce;
$custom-light: #886cde;
$custom-dark: #000000;
JSON
{
  "hex": "#3d31ce",
  "rgb": {
    "r": 61,
    "g": 49,
    "b": 206
  },
  "hsl": {
    "h": 244.586,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.22735,
    "h": 275.4
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#3D31CE
secondary
#CBD18A
accent
#E543D8
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3D31CE

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

Preview Lab → · Contrast checker → · Palette generator →

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