#3E41C1#3E41C1

#3E41C1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.195 H 274.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3E41C1
RGBrgb(62, 65, 193)
HSLhsl(239, 51%, 50%)
HSVhsv(239, 68%, 76%)
CMYKcmyk(67.9%, 66.3%, 0%, 24.3%)
CIE-LABlab(35.31, 39.71, -67.26)
CIE-LCHlch(35.31, 78.11, 300.56°)
OKLaboklab(45.87% 0.0155 -0.1942)
OKLCHoklch(45.87% 0.195 274.6)
XYZxyz(13.4994, 8.6537, 51.4007)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41C1 #C1BE3E
analogous
#3E82C1 #3E41C1 #7D3EC1
triadic
#3E41C1 #C13E41 #41C13E
tetradic
#3E41C1 #C13E82 #C1BE3E #3EC17D
square
#3E41C1 #C13E82 #C1BE3E #3EC17D
split-complementary
#3E41C1 #C17D3E #82C13E
monochromatic
#202264 #2F3193 #3E41C1 #6C6FD0 #9B9CDF

Accessibility & contrast

On white

7.69
#3E41C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3E41C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41C1
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41C1#FFFFFF#000000##FFFFFF
##3E41C11.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e41c1;
/* rgb */ color: rgb(62, 65, 193);
/* oklch */ color: oklch(45.9% 0.195 274.6);
Tailwind
colors: {
  custom: {
    50: '#8476d5',
    500: '#3e41c1',
    950: '#000000',
  },
}
SCSS
$custom: #3e41c1;
$custom-light: #8476d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41c1",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 238.626,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.19484,
    "h": 274.6
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#3E41C1
secondary
#CBC990
accent
#D84DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3E41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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