#4E71D5#4E71D5

#4E71D5 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.158 H 266.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4E71D5
RGBrgb(78, 113, 213)
HSLhsl(224, 62%, 57%)
HSVhsv(224, 63%, 84%)
CMYKcmyk(63.4%, 46.9%, 0%, 16.5%)
CIE-LABlab(49.78, 19.01, -55.29)
CIE-LCHlch(49.78, 58.47, 288.97°)
OKLaboklab(57.38% -0.0086 -0.1582)
OKLCHoklch(57.38% 0.158 266.9)
XYZxyz(21.0531, 18.2322, 65.3476)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71D5 #D5B24E
analogous
#4EB5D5 #4E71D5 #6E4ED5
triadic
#4E71D5 #D54E71 #71D54E
tetradic
#4E71D5 #D54EB5 #D5B24E #4ED56E
square
#4E71D5 #D54EB5 #D5B24E #4ED56E
split-complementary
#4E71D5 #D56E4E #B5D54E
monochromatic
#203B88 #2C51BA #4E71D5 #7F99E1 #B1C0EC

Accessibility & contrast

On white

4.52
#4E71D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4E71D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71D5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71D5#FFFFFF#000000##000000
##4E71D51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DD9
Deuteranopia (green-blind)
#2571D3
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e71d5;
/* rgb */ color: rgb(78, 113, 213);
/* oklch */ color: oklch(57.4% 0.158 266.9);
Tailwind
colors: {
  custom: {
    50: '#8c99e2',
    500: '#4e71d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e71d5;
$custom-light: #8c99e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71d5",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 224.444,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.1584,
    "h": 266.9
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#4E71D5
secondary
#DBCDA4
accent
#BB43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E71D5

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

Preview Lab → · Contrast checker → · Palette generator →

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