#4E71D1#4E71D1

#4E71D1 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.153 H 266.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4E71D1
RGBrgb(78, 113, 209)
HSLhsl(224, 59%, 56%)
HSVhsv(224, 63%, 82%)
CMYKcmyk(62.7%, 45.9%, 0%, 18%)
CIE-LABlab(49.53, 17.63, -53.41)
CIE-LCHlch(49.53, 56.24, 288.27°)
OKLaboklab(57.12% -0.0092 -0.1526)
OKLCHoklch(57.12% 0.153 266.5)
XYZxyz(20.5517, 18.0316, 62.7066)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71D1 #D1AE4E
analogous
#4EB3D1 #4E71D1 #6D4ED1
triadic
#4E71D1 #D14E71 #71D14E
tetradic
#4E71D1 #D14EB3 #D1AE4E #4ED16D
square
#4E71D1 #D14EB3 #D1AE4E #4ED16D
split-complementary
#4E71D1 #D16D4E #B3D14E
monochromatic
#223C83 #2F52B3 #4E71D1 #7F98DE #AFBFEA

Accessibility & contrast

On white

4.56
#4E71D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4E71D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71D1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71D1#FFFFFF#000000##000000
##4E71D11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD5
Deuteranopia (green-blind)
#2C70CF
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e71d1;
/* rgb */ color: rgb(78, 113, 209);
/* oklch */ color: oklch(57.1% 0.153 266.5);
Tailwind
colors: {
  custom: {
    50: '#8c99e0',
    500: '#4e71d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e71d1;
$custom-light: #8c99e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71d1",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 223.969,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.15289,
    "h": 266.5
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#4E71D1
secondary
#D8CAA2
accent
#B846E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E71D1

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

Preview Lab → · Contrast checker → · Palette generator →

#4E71D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva