#3E41C2#3E41C2

#3E41C2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 46.0% C 0.196 H 274.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3E41C2
RGBrgb(62, 65, 194)
HSLhsl(239, 52%, 50%)
HSVhsv(239, 68%, 76%)
CMYKcmyk(68%, 66.5%, 0%, 23.9%)
CIE-LABlab(35.40, 40.05, -67.70)
CIE-LCHlch(35.40, 78.66, 300.61°)
OKLaboklab(45.96% 0.0154 -0.1955)
OKLCHoklch(45.96% 0.196 274.5)
XYZxyz(13.6113, 8.6985, 51.9901)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41C2 #C2BF3E
analogous
#3E83C2 #3E41C2 #7D3EC2
triadic
#3E41C2 #C23E41 #41C23E
tetradic
#3E41C2 #C23E83 #C2BF3E #3EC27D
square
#3E41C2 #C23E83 #C2BF3E #3EC27D
split-complementary
#3E41C2 #C27D3E #83C23E
monochromatic
#202266 #2F3194 #3E41C2 #6D6FD1 #9B9DDF

Accessibility & contrast

On white

7.66
#3E41C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3E41C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E41C2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41C2#FFFFFF#000000##FFFFFF
##3E41C21.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e41c2;
/* rgb */ color: rgb(62, 65, 194);
/* oklch */ color: oklch(46.0% 0.196 274.5);
Tailwind
colors: {
  custom: {
    50: '#8476d6',
    500: '#3e41c2',
    950: '#000000',
  },
}
SCSS
$custom: #3e41c2;
$custom-light: #8476d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41c2",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 238.636,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4596,
    "c": 0.19612,
    "h": 274.5
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#3E41C2
secondary
#CBCA90
accent
#D84CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3E41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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