#3E3ECD#3E3ECD

#3E3ECD is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.5% C 0.213 H 274.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3E3ECD
RGBrgb(62, 62, 205)
HSLhsl(240, 59%, 52%)
HSVhsv(240, 70%, 80%)
CMYKcmyk(69.8%, 69.8%, 0%, 19.6%)
CIE-LABlab(35.74, 45.51, -73.55)
CIE-LCHlch(35.74, 86.49, 301.75°)
OKLaboklab(46.52% 0.016 -0.2126)
OKLCHoklch(46.52% 0.213 274.3)
XYZxyz(14.7250, 8.8758, 58.6829)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3ECD #CDCD3E
analogous
#3E86CD #3E3ECD #863ECD
triadic
#3E3ECD #CD3E3E #3ECD3E
tetradic
#3E3ECD #CD3E86 #CDCD3E #3ECD86
square
#3E3ECD #CD3E86 #CDCD3E #3ECD86
split-complementary
#3E3ECD #CD863E #86CD3E
monochromatic
#1E1E73 #2A2AA3 #3E3ECD #6F6FDA #9F9FE6

Accessibility & contrast

On white

7.57
#3E3ECD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3E3ECD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3ECD
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3ECD#FFFFFF#000000##FFFFFF
##3E3ECD1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD1
Deuteranopia (green-blind)
#004DCA
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e3ecd;
/* rgb */ color: rgb(62, 62, 205);
/* oklch */ color: oklch(46.5% 0.213 274.3);
Tailwind
colors: {
  custom: {
    50: '#8774dd',
    500: '#3e3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #3e3ecd;
$custom-light: #8774dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3ecd",
  "rgb": {
    "r": 62,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.21319,
    "h": 274.3
  },
  "luminance": 0.08877
}

Semantic roles & 50–950 ramp

primary
#3E3ECD
secondary
#D3D394
accent
#E246E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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