#3E42E3#3E42E3

#3E42E3 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.236 H 272.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3E42E3
RGBrgb(62, 66, 227)
HSLhsl(239, 75%, 57%)
HSVhsv(239, 73%, 89%)
CMYKcmyk(72.7%, 70.9%, 0%, 11%)
CIE-LABlab(38.66, 50.42, -81.39)
CIE-LCHlch(38.66, 95.74, 301.78°)
OKLaboklab(49.24% 0.0107 -0.2355)
OKLCHoklch(49.24% 0.236 272.6)
XYZxyz(17.7953, 10.4648, 73.7402)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E42E3 #E3DF3E
analogous
#3E95E3 #3E42E3 #8C3EE3
triadic
#3E42E3 #E33E42 #42E33E
tetradic
#3E42E3 #E33E95 #E3DF3E #3EE38C
square
#3E42E3 #E33E95 #E3DF3E #3EE38C
split-complementary
#3E42E3 #E38C3E #95E33E
monochromatic
#151891 #1D21C7 #3E42E3 #7376EB #A9ABF3

Accessibility & contrast

On white

6.79
#3E42E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3E42E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E42E3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E42E3#FFFFFF#000000##FFFFFF
##3E42E31.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e42e3;
/* rgb */ color: rgb(62, 66, 227);
/* oklch */ color: oklch(49.2% 0.236 272.6);
Tailwind
colors: {
  custom: {
    50: '#8b78ed',
    500: '#3e42e3',
    950: '#000000',
  },
}
SCSS
$custom: #3e42e3;
$custom-light: #8b78ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3e42e3",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 227
  },
  "hsl": {
    "h": 238.545,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.49239,
    "c": 0.23572,
    "h": 272.6
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#3E42E3
secondary
#E0DF9D
accent
#ED37F1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3E42E3

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

Preview Lab → · Contrast checker → · Palette generator →

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