#3E41C3#3E41C3

#3E41C3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.1% C 0.197 H 274.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3E41C3
RGBrgb(62, 65, 195)
HSLhsl(239, 53%, 50%)
HSVhsv(239, 68%, 76%)
CMYKcmyk(68.2%, 66.7%, 0%, 23.5%)
CIE-LABlab(35.49, 40.39, -68.14)
CIE-LCHlch(35.49, 79.22, 300.66°)
OKLaboklab(46.05% 0.0153 -0.1968)
OKLCHoklch(46.05% 0.197 274.4)
XYZxyz(13.7240, 8.7436, 52.5836)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41C3 #C3C03E
analogous
#3E83C3 #3E41C3 #7E3EC3
triadic
#3E41C3 #C33E41 #41C33E
tetradic
#3E41C3 #C33E83 #C3C03E #3EC37E
square
#3E41C3 #C33E83 #C3C03E #3EC37E
split-complementary
#3E41C3 #C37E3E #83C33E
monochromatic
#202267 #2E3195 #3E41C3 #6D6FD2 #9B9DE0

Accessibility & contrast

On white

7.64
#3E41C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3E41C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41C3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41C3#FFFFFF#000000##FFFFFF
##3E41C31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e41c3;
/* rgb */ color: rgb(62, 65, 195);
/* oklch */ color: oklch(46.1% 0.197 274.4);
Tailwind
colors: {
  custom: {
    50: '#8476d6',
    500: '#3e41c3',
    950: '#000000',
  },
}
SCSS
$custom: #3e41c3;
$custom-light: #8476d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41c3",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 238.647,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46052,
    "c": 0.19739,
    "h": 274.4
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#3E41C3
secondary
#CCCB91
accent
#D94CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3E41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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