#3E41E3#3E41E3

#3E41E3 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.1% C 0.237 H 272.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3E41E3
RGBrgb(62, 65, 227)
HSLhsl(239, 75%, 57%)
HSVhsv(239, 73%, 89%)
CMYKcmyk(72.7%, 71.4%, 0%, 11%)
CIE-LABlab(38.46, 50.98, -81.72)
CIE-LCHlch(38.46, 96.32, 301.96°)
OKLaboklab(49.1% 0.0111 -0.2364)
OKLCHoklch(49.1% 0.237 272.7)
XYZxyz(17.7374, 10.3490, 73.7209)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E41E3 #E3E03E
analogous
#3E94E3 #3E41E3 #8E3EE3
triadic
#3E41E3 #E33E41 #41E33E
tetradic
#3E41E3 #E33E94 #E3E03E #3EE38E
square
#3E41E3 #E33E94 #E3E03E #3EE38E
split-complementary
#3E41E3 #E38E3E #94E33E
monochromatic
#151791 #1D20C7 #3E41E3 #7376EB #A9AAF3

Accessibility & contrast

On white

6.84
#3E41E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3E41E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E41E3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E41E3#FFFFFF#000000##FFFFFF
##3E41E31.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E8
Deuteranopia (green-blind)
#0053E0
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e41e3;
/* rgb */ color: rgb(62, 65, 227);
/* oklch */ color: oklch(49.1% 0.237 272.7);
Tailwind
colors: {
  custom: {
    50: '#8b77ed',
    500: '#3e41e3',
    950: '#000000',
  },
}
SCSS
$custom: #3e41e3;
$custom-light: #8b77ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3e41e3",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 227
  },
  "hsl": {
    "h": 238.909,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.23671,
    "h": 272.7
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#3E41E3
secondary
#E0DF9D
accent
#EE37F1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #3E41E3

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

Preview Lab → · Contrast checker → · Palette generator →

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