#4E71DF#4E71DF

#4E71DF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.172 H 267.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E71DF
RGBrgb(78, 113, 223)
HSLhsl(226, 69%, 59%)
HSVhsv(226, 65%, 87%)
CMYKcmyk(65%, 49.3%, 0%, 12.5%)
CIE-LABlab(50.40, 22.46, -59.95)
CIE-LCHlch(50.40, 64.02, 290.54°)
OKLaboklab(58.06% -0.0074 -0.1719)
OKLCHoklch(58.06% 0.172 267.5)
XYZxyz(22.3617, 18.7556, 72.2395)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71DF #DFBC4E
analogous
#4EBADF #4E71DF #744EDF
triadic
#4E71DF #DF4E71 #71DF4E
tetradic
#4E71DF #DF4EBA #DFBC4E #4EDF74
square
#4E71DF #DF4EBA #DFBC4E #4EDF74
split-complementary
#4E71DF #DF744E #BADF4E
monochromatic
#1B3997 #254DCB #4E71DF #829BE8 #B6C4F2

Accessibility & contrast

On white

4.42
#4E71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4E71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71DF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71DF#FFFFFF#000000##000000
##4E71DF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#0672DD
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e71df;
/* rgb */ color: rgb(78, 113, 223);
/* oklch */ color: oklch(58.1% 0.172 267.5);
Tailwind
colors: {
  custom: {
    50: '#8e99ea',
    500: '#4e71df',
    950: '#000000',
  },
}
SCSS
$custom: #4e71df;
$custom-light: #8e99ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71df",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 225.517,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.17202,
    "h": 267.5
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#4E71DF
secondary
#E1D3A8
accent
#C23CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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