#3E31BE#3E31BE

#3E31BE is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.208 H 277.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3E31BE
RGBrgb(62, 49, 190)
HSLhsl(246, 59%, 47%)
HSVhsv(246, 74%, 75%)
CMYKcmyk(67.4%, 74.2%, 0%, 25.5%)
CIE-LABlab(31.66, 47.98, -71.49)
CIE-LCHlch(31.66, 86.10, 303.87°)
OKLaboklab(43.17% 0.0263 -0.2065)
OKLCHoklch(43.17% 0.208 277.2)
XYZxyz(12.3762, 6.9374, 49.3921)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E31BE #B1BE31
analogous
#316BBE #3E31BE #8531BE
triadic
#3E31BE #BE3E31 #31BE3E
tetradic
#3E31BE #BE316B #B1BE31 #31BE85
square
#3E31BE #BE316B #B1BE31 #31BE85
split-complementary
#3E31BE #BE8531 #6BBE31
monochromatic
#1E185D #2E248D #3E31BE #6458D4 #9189E1

Accessibility & contrast

On white

8.80
#3E31BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E31BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E31BE
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E31BE#FFFFFF#000000##FFFFFF
##3E31BE1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0044BB
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e31be;
/* rgb */ color: rgb(62, 49, 190);
/* oklch */ color: oklch(43.2% 0.208 277.2);
Tailwind
colors: {
  custom: {
    50: '#856cd3',
    500: '#3e31be',
    950: '#000000',
  },
}
SCSS
$custom: #3e31be;
$custom-light: #856cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e31be",
  "rgb": {
    "r": 62,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 245.532,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43169,
    "c": 0.20821,
    "h": 277.2
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#3E31BE
secondary
#C4CA80
accent
#E246D4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3E31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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