#4E71D4#4E71D4

#4E71D4 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.3% C 0.157 H 266.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4E71D4
RGBrgb(78, 113, 212)
HSLhsl(224, 61%, 57%)
HSVhsv(224, 63%, 83%)
CMYKcmyk(63.2%, 46.7%, 0%, 16.9%)
CIE-LABlab(49.72, 18.66, -54.82)
CIE-LCHlch(49.72, 57.91, 288.80°)
OKLaboklab(57.31% -0.0088 -0.1568)
OKLCHoklch(57.31% 0.157 266.8)
XYZxyz(20.9266, 18.1815, 64.6812)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71D4 #D4B14E
analogous
#4EB4D4 #4E71D4 #6E4ED4
triadic
#4E71D4 #D44E71 #71D44E
tetradic
#4E71D4 #D44EB4 #D4B14E #4ED46E
square
#4E71D4 #D44EB4 #D4B14E #4ED46E
split-complementary
#4E71D4 #D46E4E #B4D44E
monochromatic
#213B87 #2D51B8 #4E71D4 #7F99E0 #B0C0EC

Accessibility & contrast

On white

4.53
#4E71D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4E71D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71D4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71D4#FFFFFF#000000##000000
##4E71D41.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#407DD8
Deuteranopia (green-blind)
#2771D2
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4e71d4;
/* rgb */ color: rgb(78, 113, 212);
/* oklch */ color: oklch(57.3% 0.157 266.8);
Tailwind
colors: {
  custom: {
    50: '#8c99e2',
    500: '#4e71d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e71d4;
$custom-light: #8c99e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71d4",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 224.328,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.15703,
    "h": 266.8
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

primary
#4E71D4
secondary
#DACCA4
accent
#BA44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4E71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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