#3E31C0#3E31C0

#3E31C0 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.211 H 277.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3E31C0
RGBrgb(62, 49, 192)
HSLhsl(245, 59%, 47%)
HSVhsv(245, 74%, 75%)
CMYKcmyk(67.7%, 74.5%, 0%, 24.7%)
CIE-LABlab(31.86, 48.61, -72.34)
CIE-LCHlch(31.86, 87.15, 303.90°)
OKLaboklab(43.37% 0.0258 -0.209)
OKLCHoklch(43.37% 0.211 277)
XYZxyz(12.5963, 7.0254, 50.5512)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E31C0 #B3C031
analogous
#316BC0 #3E31C0 #8631C0
triadic
#3E31C0 #C03E31 #31C03E
tetradic
#3E31C0 #C0316B #B3C031 #31C086
square
#3E31C0 #C0316B #B3C031 #31C086
split-complementary
#3E31C0 #C08631 #6BC031
monochromatic
#1F185E #2E258F #3E31C0 #6559D5 #928AE1

Accessibility & contrast

On white

8.73
#3E31C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3E31C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E31C0
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E31C0#FFFFFF#000000##FFFFFF
##3E31C01.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e31c0;
/* rgb */ color: rgb(62, 49, 192);
/* oklch */ color: oklch(43.4% 0.211 277.0);
Tailwind
colors: {
  custom: {
    50: '#856cd4',
    500: '#3e31c0',
    950: '#000000',
  },
}
SCSS
$custom: #3e31c0;
$custom-light: #856cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e31c0",
  "rgb": {
    "r": 62,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 245.455,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.21061,
    "h": 277
  },
  "luminance": 0.07027
}

Semantic roles & 50–950 ramp

primary
#3E31C0
secondary
#C5CB82
accent
#E345D4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3E31C0

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

Preview Lab → · Contrast checker → · Palette generator →

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