#3E71C1#3E71C1

#3E71C1 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.136 H 259.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3E71C1
RGBrgb(62, 113, 193)
HSLhsl(217, 51%, 50%)
HSVhsv(217, 68%, 76%)
CMYKcmyk(67.9%, 41.5%, 0%, 24.3%)
CIE-LABlab(47.86, 9.27, -46.97)
CIE-LCHlch(47.86, 47.87, 281.17°)
OKLaboklab(55.32% -0.0258 -0.134)
OKLCHoklch(55.32% 0.136 259.1)
XYZxyz(17.5139, 16.6829, 52.7389)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E71C1 #C18E3E
analogous
#3EB3C1 #3E71C1 #4C3EC1
triadic
#3E71C1 #C13E71 #71C13E
tetradic
#3E71C1 #C13EB3 #C18E3E #3EC14C
square
#3E71C1 #C13EB3 #C18E3E #3EC14C
split-complementary
#3E71C1 #C14C3E #B3C13E
monochromatic
#203B64 #2F5693 #3E71C1 #6C93D0 #9BB5DF

Accessibility & contrast

On white

4.84
#3E71C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3E71C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E71C1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E71C1#FFFFFF#000000##FFFFFF
##3E71C11.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C4
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3e71c1;
/* rgb */ color: rgb(62, 113, 193);
/* oklch */ color: oklch(55.3% 0.136 259.1);
Tailwind
colors: {
  custom: {
    50: '#8199d4',
    500: '#3e71c1',
    950: '#000000',
  },
}
SCSS
$custom: #3e71c1;
$custom-light: #8199d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e71c1",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 216.641,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.13644,
    "h": 259.1
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#3E71C1
secondary
#CBB490
accent
#A44DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3E71C1

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

Preview Lab → · Contrast checker → · Palette generator →

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