#3E71C0#3E71C0

#3E71C0 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.3% C 0.135 H 258.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3E71C0
RGBrgb(62, 113, 192)
HSLhsl(216, 51%, 50%)
HSVhsv(216, 68%, 75%)
CMYKcmyk(67.7%, 41.1%, 0%, 24.7%)
CIE-LABlab(47.80, 8.92, -46.48)
CIE-LCHlch(47.80, 47.33, 280.86°)
OKLaboklab(55.26% -0.026 -0.1326)
OKLCHoklch(55.26% 0.135 258.9)
XYZxyz(17.4027, 16.6384, 52.1533)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E71C0 #C08D3E
analogous
#3EB2C0 #3E71C0 #4C3EC0
triadic
#3E71C0 #C03E71 #71C03E
tetradic
#3E71C0 #C03EB2 #C08D3E #3EC04C
square
#3E71C0 #C03EB2 #C08D3E #3EC04C
split-complementary
#3E71C0 #C04C3E #B2C03E
monochromatic
#203B63 #2F5692 #3E71C0 #6C93CF #9AB5DE

Accessibility & contrast

On white

4.85
#3E71C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3E71C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E71C0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E71C0#FFFFFF#000000##FFFFFF
##3E71C01.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C3
Deuteranopia (green-blind)
#386CBE
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3e71c0;
/* rgb */ color: rgb(62, 113, 192);
/* oklch */ color: oklch(55.3% 0.135 258.9);
Tailwind
colors: {
  custom: {
    50: '#8199d3',
    500: '#3e71c0',
    950: '#000000',
  },
}
SCSS
$custom: #3e71c0;
$custom-light: #8199d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e71c0",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 216.462,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5526,
    "c": 0.13509,
    "h": 258.9
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#3E71C0
secondary
#CAB38F
accent
#A34DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3E71C0

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

Preview Lab → · Contrast checker → · Palette generator →

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