#3E31BC#3E31BC

#3E31BC is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.0% C 0.206 H 277.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3E31BC
RGBrgb(62, 49, 188)
HSLhsl(246, 59%, 46%)
HSVhsv(246, 74%, 74%)
CMYKcmyk(67%, 73.9%, 0%, 26.3%)
CIE-LABlab(31.46, 47.35, -70.64)
CIE-LCHlch(31.46, 85.04, 303.83°)
OKLaboklab(42.97% 0.0267 -0.2041)
OKLCHoklch(42.97% 0.206 277.4)
XYZxyz(12.1591, 6.8505, 48.2487)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E31BC #AFBC31
analogous
#3169BC #3E31BC #8431BC
triadic
#3E31BC #BC3E31 #31BC3E
tetradic
#3E31BC #BC3169 #AFBC31 #31BC84
square
#3E31BC #BC3169 #AFBC31 #31BC84
split-complementary
#3E31BC #BC8431 #69BC31
monochromatic
#1E185B #2E248B #3E31BC #6357D3 #9088E0

Accessibility & contrast

On white

8.86
#3E31BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3E31BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E31BC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E31BC#FFFFFF#000000##FFFFFF
##3E31BC1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e31bc;
/* rgb */ color: rgb(62, 49, 188);
/* oklch */ color: oklch(43.0% 0.206 277.4);
Tailwind
colors: {
  custom: {
    50: '#846bd1',
    500: '#3e31bc',
    950: '#000000',
  },
}
SCSS
$custom: #3e31bc;
$custom-light: #846bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e31bc",
  "rgb": {
    "r": 62,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 245.612,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42968,
    "c": 0.20581,
    "h": 277.4
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#3E31BC
secondary
#C3CA7F
accent
#E246D3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3E31BC

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

Preview Lab → · Contrast checker → · Palette generator →

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