#3E3EC0#3E3EC0

#3E3EC0 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.3% C 0.197 H 275.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3E3EC0
RGBrgb(62, 62, 192)
HSLhsl(240, 51%, 50%)
HSVhsv(240, 68%, 75%)
CMYKcmyk(67.7%, 67.7%, 0%, 24.7%)
CIE-LABlab(34.55, 41.19, -67.93)
CIE-LCHlch(34.55, 79.44, 301.23°)
OKLaboklab(45.29% 0.0177 -0.1962)
OKLCHoklch(45.29% 0.197 275.2)
XYZxyz(13.2205, 8.2740, 50.7593)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3EC0 #C0C03E
analogous
#3E7FC0 #3E3EC0 #7F3EC0
triadic
#3E3EC0 #C03E3E #3EC03E
tetradic
#3E3EC0 #C03E7F #C0C03E #3EC07F
square
#3E3EC0 #C03E7F #C0C03E #3EC07F
split-complementary
#3E3EC0 #C07F3E #7FC03E
monochromatic
#202063 #2F2F92 #3E3EC0 #6C6CCF #9A9ADE

Accessibility & contrast

On white

7.91
#3E3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3E3EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3EC0
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3EC0#FFFFFF#000000##FFFFFF
##3E3EC01.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e3ec0;
/* rgb */ color: rgb(62, 62, 192);
/* oklch */ color: oklch(45.3% 0.197 275.2);
Tailwind
colors: {
  custom: {
    50: '#8474d4',
    500: '#3e3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ec0;
$custom-light: #8474d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ec0",
  "rgb": {
    "r": 62,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 240,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.19697,
    "h": 275.2
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#3E3EC0
secondary
#CACA8F
accent
#DB4DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3E3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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