#3E39E2#3E39E2

#3E39E2 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.9% C 0.243 H 273.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3E39E2
RGBrgb(62, 57, 226)
HSLhsl(242, 74%, 55%)
HSVhsv(242, 75%, 89%)
CMYKcmyk(72.6%, 74.8%, 0%, 11.4%)
CIE-LABlab(36.82, 55.00, -83.86)
CIE-LCHlch(36.82, 100.29, 303.26°)
OKLaboklab(47.9% 0.015 -0.2426)
OKLCHoklch(47.9% 0.243 273.5)
XYZxyz(17.1726, 9.4396, 72.8538)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39E2 #DDE239
analogous
#3988E2 #3E39E2 #9239E2
triadic
#3E39E2 #E23E39 #39E23E
tetradic
#3E39E2 #E23988 #DDE239 #39E292
square
#3E39E2 #E23988 #DDE239 #39E292
split-complementary
#3E39E2 #E29239 #88E239
monochromatic
#18158C #211CC1 #3E39E2 #726EEA #A6A4F2

Accessibility & contrast

On white

7.27
#3E39E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3E39E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39E2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39E2#FFFFFF#000000##FFFFFF
##3E39E21.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE7
Deuteranopia (green-blind)
#004EDF
Tritanopia (blue-blind)
#006B8B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e39e2;
/* rgb */ color: rgb(62, 57, 226);
/* oklch */ color: oklch(47.9% 0.243 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c72ed',
    500: '#3e39e2',
    950: '#000000',
  },
}
SCSS
$custom: #3e39e2;
$custom-light: #8c72ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39e2",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 241.775,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.47897,
    "c": 0.2431,
    "h": 273.5
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#3E39E2
secondary
#DDDF98
accent
#F137EC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3E39E2

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

Preview Lab → · Contrast checker → · Palette generator →

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