#4E71C7#4E71C7

#4E71C7 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.139 H 265.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E71C7
RGBrgb(78, 113, 199)
HSLhsl(223, 52%, 54%)
HSVhsv(223, 61%, 78%)
CMYKcmyk(60.8%, 43.2%, 0%, 22%)
CIE-LABlab(48.95, 14.20, -48.63)
CIE-LCHlch(48.95, 50.66, 286.28°)
OKLaboklab(56.48% -0.0109 -0.1386)
OKLCHoklch(56.48% 0.139 265.5)
XYZxyz(19.3523, 17.5518, 56.3898)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71C7 #C7A44E
analogous
#4EADC7 #4E71C7 #684EC7
triadic
#4E71C7 #C74E71 #71C74E
tetradic
#4E71C7 #C74EAD #C7A44E #4EC768
square
#4E71C7 #C74EAD #C7A44E #4EC768
split-complementary
#4E71C7 #C7684E #ADC74E
monochromatic
#253C75 #3454A4 #4E71C7 #7C96D6 #ABBCE4

Accessibility & contrast

On white

4.66
#4E71C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4E71C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71C7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71C7#FFFFFF#000000##FFFFFF
##4E71C71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACA
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e71c7;
/* rgb */ color: rgb(78, 113, 199);
/* oklch */ color: oklch(56.5% 0.139 265.5);
Tailwind
colors: {
  custom: {
    50: '#8a99d8',
    500: '#4e71c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e71c7;
$custom-light: #8a99d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71c7",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 222.645,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56478,
    "c": 0.13901,
    "h": 265.5
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#4E71C7
secondary
#D2C39F
accent
#B24CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #4E71C7

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

Preview Lab → · Contrast checker → · Palette generator →

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