#3E71C5#3E71C5

#3E71C5 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.142 H 259.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3E71C5
RGBrgb(62, 113, 197)
HSLhsl(217, 54%, 51%)
HSVhsv(217, 69%, 77%)
CMYKcmyk(68.5%, 42.6%, 0%, 22.7%)
CIE-LABlab(48.09, 10.71, -48.90)
CIE-LCHlch(48.09, 50.06, 282.35°)
OKLaboklab(55.58% -0.025 -0.1397)
OKLCHoklch(55.58% 0.142 259.9)
XYZxyz(17.9662, 16.8638, 55.1207)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E71C5 #C5923E
analogous
#3EB5C5 #3E71C5 #4E3EC5
triadic
#3E71C5 #C53E71 #71C53E
tetradic
#3E71C5 #C53EB5 #C5923E #3EC54E
square
#3E71C5 #C53EB5 #C5923E #3EC54E
split-complementary
#3E71C5 #C54E3E #B5C53E
monochromatic
#203B69 #2E5698 #3E71C5 #6D94D3 #9CB6E1

Accessibility & contrast

On white

4.80
#3E71C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3E71C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E71C5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E71C5#FFFFFF#000000##FFFFFF
##3E71C51.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4979C8
Deuteranopia (green-blind)
#336CC3
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3e71c5;
/* rgb */ color: rgb(62, 113, 197);
/* oklch */ color: oklch(55.6% 0.142 259.9);
Tailwind
colors: {
  custom: {
    50: '#8299d7',
    500: '#3e71c5',
    950: '#000000',
  },
}
SCSS
$custom: #3e71c5;
$custom-light: #8299d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e71c5",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 217.333,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.14188,
    "h": 259.9
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

primary
#3E71C5
secondary
#CDB791
accent
#A64BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3E71C5

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

Preview Lab → · Contrast checker → · Palette generator →

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