#3E41C6#3E41C6

#3E41C6 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.3% C 0.201 H 274.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3E41C6
RGBrgb(62, 65, 198)
HSLhsl(239, 54%, 51%)
HSVhsv(239, 69%, 78%)
CMYKcmyk(68.7%, 67.2%, 0%, 22.4%)
CIE-LABlab(35.75, 41.40, -69.46)
CIE-LCHlch(35.75, 80.86, 300.80°)
OKLaboklab(46.33% 0.015 -0.2006)
OKLCHoklch(46.33% 0.201 274.3)
XYZxyz(14.0666, 8.8806, 54.3880)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41C6 #C6C33E
analogous
#3E85C6 #3E41C6 #7F3EC6
triadic
#3E41C6 #C63E41 #41C63E
tetradic
#3E41C6 #C63E85 #C6C33E #3EC67F
square
#3E41C6 #C63E85 #C6C33E #3EC67F
split-complementary
#3E41C6 #C67F3E #85C63E
monochromatic
#1F216A #2D3099 #3E41C6 #6D70D4 #9C9EE2

Accessibility & contrast

On white

7.56
#3E41C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3E41C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41C6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41C6#FFFFFF#000000##FFFFFF
##3E41C61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e41c6;
/* rgb */ color: rgb(62, 65, 198);
/* oklch */ color: oklch(46.3% 0.201 274.3);
Tailwind
colors: {
  custom: {
    50: '#8576d8',
    500: '#3e41c6',
    950: '#000000',
  },
}
SCSS
$custom: #3e41c6;
$custom-light: #8576d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41c6",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 238.676,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46328,
    "c": 0.2012,
    "h": 274.3
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#3E41C6
secondary
#CECD92
accent
#DA4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3E41C6

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

Preview Lab → · Contrast checker → · Palette generator →

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