#3E71D4#3E71D4

#3E71D4 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.6% C 0.162 H 262.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3E71D4
RGBrgb(62, 113, 212)
HSLhsl(220, 64%, 54%)
HSVhsv(220, 71%, 83%)
CMYKcmyk(70.8%, 46.7%, 0%, 16.9%)
CIE-LABlab(48.99, 16.13, -56.03)
CIE-LCHlch(48.99, 58.30, 286.06°)
OKLaboklab(56.56% -0.0224 -0.1606)
OKLCHoklch(56.56% 0.162 262.1)
XYZxyz(19.7712, 17.5858, 64.6270)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E71D4 #D4A13E
analogous
#3EBCD4 #3E71D4 #563ED4
triadic
#3E71D4 #D43E71 #71D43E
tetradic
#3E71D4 #D43EBC #D4A13E #3ED456
square
#3E71D4 #D43EBC #D4A13E #3ED456
split-complementary
#3E71D4 #D4563E #BCD43E
monochromatic
#1C3C7C #2755AE #3E71D4 #7096DF #A2BBEA

Accessibility & contrast

On white

4.65
#3E71D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3E71D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3E71D4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E71D4#FFFFFF#000000##FFFFFF
##3E71D41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#196ED2
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3e71d4;
/* rgb */ color: rgb(62, 113, 212);
/* oklch */ color: oklch(56.6% 0.162 262.1);
Tailwind
colors: {
  custom: {
    50: '#8599e2',
    500: '#3e71d4',
    950: '#000000',
  },
}
SCSS
$custom: #3e71d4;
$custom-light: #8599e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e71d4",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 219.6,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.16216,
    "h": 262.1
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#3E71D4
secondary
#D7C197
accent
#AE41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3E71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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