#3E5CD1#3E5CD1

#3E5CD1 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.184 H 268.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3E5CD1
RGBrgb(62, 92, 209)
HSLhsl(228, 62%, 53%)
HSVhsv(228, 70%, 82%)
CMYKcmyk(70.3%, 56%, 0%, 18%)
CIE-LABlab(43.18, 28.36, -63.70)
CIE-LCHlch(43.18, 69.73, 294.00°)
OKLaboklab(52.09% -0.0052 -0.1835)
OKLCHoklch(52.09% 0.184 268.4)
XYZxyz(17.3184, 13.2801, 61.9599)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CD1 #D1B33E
analogous
#3EA5D1 #3E5CD1 #693ED1
triadic
#3E5CD1 #D13E5C #5CD13E
tetradic
#3E5CD1 #D13EA5 #D1B33E #3ED169
square
#3E5CD1 #D13EA5 #D1B33E #3ED169
split-complementary
#3E5CD1 #D1693E #A5D13E
monochromatic
#1D2F78 #2843A9 #3E5CD1 #6F86DD #A1AFE9

Accessibility & contrast

On white

5.74
#3E5CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3E5CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CD1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CD1#FFFFFF#000000##FFFFFF
##3E5CD11.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD5
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e5cd1;
/* rgb */ color: rgb(62, 92, 209);
/* oklch */ color: oklch(52.1% 0.184 268.4);
Tailwind
colors: {
  custom: {
    50: '#8589e0',
    500: '#3e5cd1',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cd1;
$custom-light: #8589e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cd1",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 227.755,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52087,
    "c": 0.18357,
    "h": 268.4
  },
  "luminance": 0.13282
}

Semantic roles & 50–950 ramp

primary
#3E5CD1
secondary
#D5C896
accent
#C443E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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