#3E71C2#3E71C2

#3E71C2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.138 H 259.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3E71C2
RGBrgb(62, 113, 194)
HSLhsl(217, 52%, 50%)
HSVhsv(217, 68%, 76%)
CMYKcmyk(68%, 41.8%, 0%, 23.9%)
CIE-LABlab(47.91, 9.63, -47.45)
CIE-LCHlch(47.91, 48.42, 281.47°)
OKLaboklab(55.39% -0.0256 -0.1354)
OKLCHoklch(55.39% 0.138 259.3)
XYZxyz(17.6258, 16.7276, 53.3283)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E71C2 #C28F3E
analogous
#3EB3C2 #3E71C2 #4D3EC2
triadic
#3E71C2 #C23E71 #71C23E
tetradic
#3E71C2 #C23EB3 #C28F3E #3EC24D
square
#3E71C2 #C23EB3 #C28F3E #3EC24D
split-complementary
#3E71C2 #C24D3E #B3C23E
monochromatic
#203B66 #2F5694 #3E71C2 #6D93D1 #9BB5DF

Accessibility & contrast

On white

4.83
#3E71C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3E71C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E71C2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E71C2#FFFFFF#000000##FFFFFF
##3E71C21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#366CC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3e71c2;
/* rgb */ color: rgb(62, 113, 194);
/* oklch */ color: oklch(55.4% 0.138 259.3);
Tailwind
colors: {
  custom: {
    50: '#8299d5',
    500: '#3e71c2',
    950: '#000000',
  },
}
SCSS
$custom: #3e71c2;
$custom-light: #8299d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e71c2",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 216.818,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55385,
    "c": 0.1378,
    "h": 259.3
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#3E71C2
secondary
#CBB590
accent
#A44CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3E71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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