#4E71D2#4E71D2

#4E71D2 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.154 H 266.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4E71D2
RGBrgb(78, 113, 210)
HSLhsl(224, 59%, 56%)
HSVhsv(224, 63%, 82%)
CMYKcmyk(62.9%, 46.2%, 0%, 17.6%)
CIE-LABlab(49.59, 17.97, -53.88)
CIE-LCHlch(49.59, 56.80, 288.45°)
OKLaboklab(57.18% -0.0091 -0.154)
OKLCHoklch(57.18% 0.154 266.6)
XYZxyz(20.6759, 18.0813, 63.3607)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71D2 #D2AF4E
analogous
#4EB3D2 #4E71D2 #6D4ED2
triadic
#4E71D2 #D24E71 #71D24E
tetradic
#4E71D2 #D24EB3 #D2AF4E #4ED26D
square
#4E71D2 #D24EB3 #D2AF4E #4ED26D
split-complementary
#4E71D2 #D26D4E #B3D24E
monochromatic
#223C84 #2E52B5 #4E71D2 #7F98DE #B0BFEB

Accessibility & contrast

On white

4.55
#4E71D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4E71D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71D2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71D2#FFFFFF#000000##000000
##4E71D21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#2A70D0
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e71d2;
/* rgb */ color: rgb(78, 113, 210);
/* oklch */ color: oklch(57.2% 0.154 266.6);
Tailwind
colors: {
  custom: {
    50: '#8c99e0',
    500: '#4e71d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e71d2;
$custom-light: #8c99e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71d2",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 224.091,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57183,
    "c": 0.15427,
    "h": 266.6
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#4E71D2
secondary
#D9CBA3
accent
#B945E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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