#3E71C8#3E71C8

#3E71C8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.146 H 260.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3E71C8
RGBrgb(62, 113, 200)
HSLhsl(218, 56%, 51%)
HSVhsv(218, 69%, 78%)
CMYKcmyk(69%, 43.5%, 0%, 21.6%)
CIE-LABlab(48.26, 11.79, -50.34)
CIE-LCHlch(48.26, 51.70, 283.18°)
OKLaboklab(55.77% -0.0244 -0.1439)
OKLCHoklch(55.77% 0.146 260.4)
XYZxyz(18.3133, 17.0026, 56.9491)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E71C8 #C8953E
analogous
#3EB6C8 #3E71C8 #503EC8
triadic
#3E71C8 #C83E71 #71C83E
tetradic
#3E71C8 #C83EB6 #C8953E #3EC850
square
#3E71C8 #C83EB6 #C8953E #3EC850
split-complementary
#3E71C8 #C8503E #B6C83E
monochromatic
#1F3C6D #2D569C #3E71C8 #6E94D6 #9DB7E3

Accessibility & contrast

On white

4.77
#3E71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3E71C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E71C8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E71C8#FFFFFF#000000##FFFFFF
##3E71C81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#2F6DC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3e71c8;
/* rgb */ color: rgb(62, 113, 200);
/* oklch */ color: oklch(55.8% 0.146 260.4);
Tailwind
colors: {
  custom: {
    50: '#8399d9',
    500: '#3e71c8',
    950: '#000000',
  },
}
SCSS
$custom: #3e71c8;
$custom-light: #8399d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e71c8",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 217.826,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55767,
    "c": 0.14595,
    "h": 260.4
  },
  "luminance": 0.17005
}

Semantic roles & 50–950 ramp

primary
#3E71C8
secondary
#CFB992
accent
#A749DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3E71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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