#4E71D7#4E71D7

#4E71D7 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.161 H 267.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4E71D7
RGBrgb(78, 113, 215)
HSLhsl(225, 63%, 57%)
HSVhsv(225, 64%, 84%)
CMYKcmyk(63.7%, 47.4%, 0%, 15.7%)
CIE-LABlab(49.90, 19.70, -56.23)
CIE-LCHlch(49.90, 59.58, 289.30°)
OKLaboklab(57.51% -0.0084 -0.1609)
OKLCHoklch(57.51% 0.161 267)
XYZxyz(21.3085, 18.3343, 66.6927)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71D7 #D7B44E
analogous
#4EB5D7 #4E71D7 #704ED7
triadic
#4E71D7 #D74E71 #71D74E
tetradic
#4E71D7 #D74EB5 #D7B44E #4ED770
square
#4E71D7 #D74EB5 #D7B44E #4ED770
split-complementary
#4E71D7 #D7704E #B5D74E
monochromatic
#1F3B8B #2B50BD #4E71D7 #8099E2 #B2C1EE

Accessibility & contrast

On white

4.50
#4E71D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4E71D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71D7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71D7#FFFFFF#000000##000000
##4E71D71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDB
Deuteranopia (green-blind)
#2171D5
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e71d7;
/* rgb */ color: rgb(78, 113, 215);
/* oklch */ color: oklch(57.5% 0.161 267.0);
Tailwind
colors: {
  custom: {
    50: '#8d99e4',
    500: '#4e71d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e71d7;
$custom-light: #8d99e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71d7",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 224.672,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.16114,
    "h": 267
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#4E71D7
secondary
#DCCEA5
accent
#BC42E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E71D7

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

Preview Lab → · Contrast checker → · Palette generator →

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