#3E3AC5#3E3AC5

#3E3AC5 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.1% C 0.208 H 275.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3E3AC5
RGBrgb(62, 58, 197)
HSLhsl(242, 55%, 50%)
HSVhsv(242, 71%, 77%)
CMYKcmyk(68.5%, 70.6%, 0%, 22.7%)
CIE-LABlab(34.15, 45.19, -71.51)
CIE-LCHlch(34.15, 84.59, 302.29°)
OKLaboklab(45.14% 0.0196 -0.2066)
OKLCHoklch(45.14% 0.208 275.4)
XYZxyz(13.5744, 8.0802, 53.6568)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3AC5 #C1C53A
analogous
#3A7BC5 #3E3AC5 #843AC5
triadic
#3E3AC5 #C53E3A #3AC53E
tetradic
#3E3AC5 #C53A7B #C1C53A #3AC584
square
#3E3AC5 #C53A7B #C1C53A #3AC584
split-complementary
#3E3AC5 #C5843A #7BC53A
monochromatic
#201E66 #2F2C96 #3E3AC5 #6C69D3 #9B99E1

Accessibility & contrast

On white

8.03
#3E3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3E3AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3AC5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3AC5#FFFFFF#000000##FFFFFF
##3E3AC51.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e3ac5;
/* rgb */ color: rgb(62, 58, 197);
/* oklch */ color: oklch(45.1% 0.208 275.4);
Tailwind
colors: {
  custom: {
    50: '#8571d8',
    500: '#3e3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ac5;
$custom-light: #8571d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ac5",
  "rgb": {
    "r": 62,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 241.727,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.20757,
    "h": 275.4
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#3E3AC5
secondary
#CBCD8E
accent
#DE4ADA
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3E3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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