#3E3ED6#3E3ED6

#3E3ED6 is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.4% C 0.224 H 273.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3E3ED6
RGBrgb(62, 62, 214)
HSLhsl(240, 65%, 54%)
HSVhsv(240, 71%, 84%)
CMYKcmyk(71%, 71%, 0%, 16.1%)
CIE-LABlab(36.60, 48.45, -77.34)
CIE-LCHlch(36.60, 91.27, 302.07°)
OKLaboklab(47.39% 0.0147 -0.2237)
OKLCHoklch(47.39% 0.224 273.7)
XYZxyz(15.8428, 9.3229, 64.5699)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3ED6 #D6D63E
analogous
#3E8AD6 #3E3ED6 #8A3ED6
triadic
#3E3ED6 #D63E3E #3ED63E
tetradic
#3E3ED6 #D63E8A #D6D63E #3ED68A
square
#3E3ED6 #D63E8A #D6D63E #3ED68A
split-complementary
#3E3ED6 #D68A3E #8AD63E
monochromatic
#1B1B7F #2626B1 #3E3ED6 #7070E1 #A3A3EB

Accessibility & contrast

On white

7.33
#3E3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3E3ED6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3ED6
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3ED6#FFFFFF#000000##FFFFFF
##3E3ED61.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDB
Deuteranopia (green-blind)
#004FD3
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e3ed6;
/* rgb */ color: rgb(62, 62, 214);
/* oklch */ color: oklch(47.4% 0.224 273.7);
Tailwind
colors: {
  custom: {
    50: '#8975e4',
    500: '#3e3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ed6;
$custom-light: #8975e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ed6",
  "rgb": {
    "r": 62,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 240,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.47386,
    "c": 0.22415,
    "h": 273.7
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#3E3ED6
secondary
#D8D898
accent
#E840E8
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3E3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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