#4E71DB#4E71DB

#4E71DB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.8% C 0.167 H 267.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4E71DB
RGBrgb(78, 113, 219)
HSLhsl(225, 66%, 58%)
HSVhsv(225, 64%, 86%)
CMYKcmyk(64.4%, 48.4%, 0%, 14.1%)
CIE-LABlab(50.15, 21.08, -58.10)
CIE-LCHlch(50.15, 61.80, 289.94°)
OKLaboklab(57.78% -0.0079 -0.1664)
OKLCHoklch(57.78% 0.167 267.3)
XYZxyz(21.8288, 18.5424, 69.4328)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71DB #DBB84E
analogous
#4EB8DB #4E71DB #714EDB
triadic
#4E71DB #DB4E71 #71DB4E
tetradic
#4E71DB #DB4EB8 #DBB84E #4EDB71
square
#4E71DB #DB4EB8 #DBB84E #4EDB71
split-complementary
#4E71DB #DB714E #B8DB4E
monochromatic
#1E3A91 #284FC4 #4E71DB #819AE5 #B4C3F0

Accessibility & contrast

On white

4.46
#4E71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4E71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71DB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71DB#FFFFFF#000000##000000
##4E71DB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#1771D9
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e71db;
/* rgb */ color: rgb(78, 113, 219);
/* oklch */ color: oklch(57.8% 0.167 267.3);
Tailwind
colors: {
  custom: {
    50: '#8d99e7',
    500: '#4e71db',
    950: '#000000',
  },
}
SCSS
$custom: #4e71db;
$custom-light: #8d99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71db",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 225.106,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57782,
    "c": 0.1666,
    "h": 267.3
  },
  "luminance": 0.18544
}

Semantic roles & 50–950 ramp

primary
#4E71DB
secondary
#DED1A6
accent
#BF3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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