#3E71D8#3E71D8

#3E71D8 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.168 H 262.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3E71D8
RGBrgb(62, 113, 216)
HSLhsl(220, 66%, 55%)
HSVhsv(220, 71%, 85%)
CMYKcmyk(71.3%, 47.7%, 0%, 15.3%)
CIE-LABlab(49.24, 17.58, -57.90)
CIE-LCHlch(49.24, 60.51, 286.89°)
OKLaboklab(56.83% -0.0218 -0.1661)
OKLCHoklch(56.83% 0.168 262.5)
XYZxyz(20.2820, 17.7901, 67.3174)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E71D8 #D8A53E
analogous
#3EBED8 #3E71D8 #583ED8
triadic
#3E71D8 #D83E71 #71D83E
tetradic
#3E71D8 #D83EBE #D8A53E #3ED858
square
#3E71D8 #D83EBE #D8A53E #3ED858
split-complementary
#3E71D8 #D8583E #BED83E
monochromatic
#1A3C81 #2454B4 #3E71D8 #7196E2 #A4BCED

Accessibility & contrast

On white

4.61
#3E71D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3E71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3E71D8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E71D8#FFFFFF#000000##FFFFFF
##3E71D81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397DDC
Deuteranopia (green-blind)
#0B6ED6
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3e71d8;
/* rgb */ color: rgb(62, 113, 216);
/* oklch */ color: oklch(56.8% 0.168 262.5);
Tailwind
colors: {
  custom: {
    50: '#8699e5',
    500: '#3e71d8',
    950: '#000000',
  },
}
SCSS
$custom: #3e71d8;
$custom-light: #8699e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e71d8",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 220.13,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.16753,
    "h": 262.5
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#3E71D8
secondary
#D9C498
accent
#B13EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3E71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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