#3E3AC4#3E3AC4

#3E3AC4 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.206 H 275.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3E3AC4
RGBrgb(62, 58, 196)
HSLhsl(242, 54%, 50%)
HSVhsv(242, 70%, 77%)
CMYKcmyk(68.4%, 70.4%, 0%, 23.1%)
CIE-LABlab(34.05, 44.87, -71.08)
CIE-LCHlch(34.05, 84.06, 302.26°)
OKLaboklab(45.05% 0.0198 -0.2054)
OKLCHoklch(45.05% 0.206 275.5)
XYZxyz(13.4602, 8.0345, 53.0553)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3AC4 #C0C43A
analogous
#3A7BC4 #3E3AC4 #833AC4
triadic
#3E3AC4 #C43E3A #3AC43E
tetradic
#3E3AC4 #C43A7B #C0C43A #3AC483
square
#3E3AC4 #C43A7B #C0C43A #3AC483
split-complementary
#3E3AC4 #C4833A #7BC43A
monochromatic
#201E66 #2F2C95 #3E3AC4 #6C69D3 #9A98E0

Accessibility & contrast

On white

8.05
#3E3AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3E3AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3AC4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3AC4#FFFFFF#000000##FFFFFF
##3E3AC41.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e3ac4;
/* rgb */ color: rgb(62, 58, 196);
/* oklch */ color: oklch(45.0% 0.206 275.5);
Tailwind
colors: {
  custom: {
    50: '#8571d7',
    500: '#3e3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ac4;
$custom-light: #8571d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ac4",
  "rgb": {
    "r": 62,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 241.739,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.20633,
    "h": 275.5
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#3E3AC4
secondary
#CACC8E
accent
#DE4AD9
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3E3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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