#3E41C5#3E41C5

#3E41C5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.2% C 0.200 H 274.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3E41C5
RGBrgb(62, 65, 197)
HSLhsl(239, 54%, 51%)
HSVhsv(239, 69%, 77%)
CMYKcmyk(68.5%, 67%, 0%, 22.7%)
CIE-LABlab(35.66, 41.06, -69.02)
CIE-LCHlch(35.66, 80.31, 300.75°)
OKLaboklab(46.24% 0.0151 -0.1994)
OKLCHoklch(46.24% 0.2 274.3)
XYZxyz(13.9516, 8.8346, 53.7825)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41C5 #C5C23E
analogous
#3E84C5 #3E41C5 #7E3EC5
triadic
#3E41C5 #C53E41 #41C53E
tetradic
#3E41C5 #C53E84 #C5C23E #3EC57E
square
#3E41C5 #C53E84 #C5C23E #3EC57E
split-complementary
#3E41C5 #C57E3E #84C53E
monochromatic
#202169 #2E3098 #3E41C5 #6D6FD3 #9C9EE1

Accessibility & contrast

On white

7.59
#3E41C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3E41C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41C5
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41C5#FFFFFF#000000##FFFFFF
##3E41C51.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e41c5;
/* rgb */ color: rgb(62, 65, 197);
/* oklch */ color: oklch(46.2% 0.200 274.3);
Tailwind
colors: {
  custom: {
    50: '#8576d8',
    500: '#3e41c5',
    950: '#000000',
  },
}
SCSS
$custom: #3e41c5;
$custom-light: #8576d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41c5",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 238.667,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46235,
    "c": 0.19993,
    "h": 274.3
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#3E41C5
secondary
#CDCC91
accent
#DA4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3E41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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