#3E3EC8#3E3EC8

#3E3EC8 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.0% C 0.207 H 274.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3E3EC8
RGBrgb(62, 62, 200)
HSLhsl(240, 56%, 51%)
HSVhsv(240, 69%, 78%)
CMYKcmyk(69%, 69%, 0%, 21.6%)
CIE-LABlab(35.28, 43.85, -71.40)
CIE-LCHlch(35.28, 83.80, 301.56°)
OKLaboklab(46.04% 0.0167 -0.2063)
OKLCHoklch(46.04% 0.207 274.6)
XYZxyz(14.1311, 8.6382, 55.5550)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3EC8 #C8C83E
analogous
#3E83C8 #3E3EC8 #833EC8
triadic
#3E3EC8 #C83E3E #3EC83E
tetradic
#3E3EC8 #C83E83 #C8C83E #3EC883
square
#3E3EC8 #C83E83 #C8C83E #3EC883
split-complementary
#3E3EC8 #C8833E #83C83E
monochromatic
#1F1F6D #2D2D9C #3E3EC8 #6E6ED6 #9D9DE3

Accessibility & contrast

On white

7.70
#3E3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3E3EC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3EC8
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3EC8#FFFFFF#000000##FFFFFF
##3E3EC81.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e3ec8;
/* rgb */ color: rgb(62, 62, 200);
/* oklch */ color: oklch(46.0% 0.207 274.6);
Tailwind
colors: {
  custom: {
    50: '#8674da',
    500: '#3e3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ec8;
$custom-light: #8674da;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ec8",
  "rgb": {
    "r": 62,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.20701,
    "h": 274.6
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#3E3EC8
secondary
#CFCF92
accent
#DF49DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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