#3E4DEC#3E4DEC

#3E4DEC is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.235 H 271.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3E4DEC
RGBrgb(62, 77, 236)
HSLhsl(235, 82%, 58%)
HSVhsv(235, 74%, 93%)
CMYKcmyk(73.7%, 67.4%, 0%, 7.5%)
CIE-LABlab(41.82, 47.04, -81.29)
CIE-LCHlch(41.82, 93.92, 300.06°)
OKLaboklab(51.77% 0.0039 -0.2352)
OKLCHoklch(51.77% 0.235 271)
XYZxyz(19.7757, 12.3859, 80.6891)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DEC #ECDD3E
analogous
#3EA4EC #3E4DEC #863EEC
triadic
#3E4DEC #EC3E4D #4DEC3E
tetradic
#3E4DEC #EC3EA4 #ECDD3E #3EEC86
square
#3E4DEC #EC3EA4 #ECDD3E #3EEC86
split-complementary
#3E4DEC #EC863E #A4EC3E
monochromatic
#101CA0 #1526D8 #3E4DEC #7680F1 #ADB4F7

Accessibility & contrast

On white

6.04
#3E4DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3E4DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4DEC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DEC#FFFFFF#000000##FFFFFF
##3E4DEC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005AE9
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e4dec;
/* rgb */ color: rgb(62, 77, 236);
/* oklch */ color: oklch(51.8% 0.235 271.0);
Tailwind
colors: {
  custom: {
    50: '#8c7ff3',
    500: '#3e4dec',
    950: '#000000',
  },
}
SCSS
$custom: #3e4dec;
$custom-light: #8c7ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4dec",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 234.828,
    "s": 82.075,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.23524,
    "h": 271
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#3E4DEC
secondary
#E5DFA0
accent
#E72FF8
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #3E4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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