#4E71C6#4E71C6

#4E71C6 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.138 H 265.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4E71C6
RGBrgb(78, 113, 198)
HSLhsl(223, 51%, 54%)
HSVhsv(223, 61%, 78%)
CMYKcmyk(60.6%, 42.9%, 0%, 22.4%)
CIE-LABlab(48.89, 13.86, -48.15)
CIE-LCHlch(48.89, 50.11, 286.06°)
OKLaboklab(56.42% -0.0111 -0.1372)
OKLCHoklch(56.42% 0.138 265.4)
XYZxyz(19.2366, 17.5055, 55.7803)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71C6 #C6A34E
analogous
#4EADC6 #4E71C6 #674EC6
triadic
#4E71C6 #C64E71 #71C64E
tetradic
#4E71C6 #C64EAD #C6A34E #4EC667
square
#4E71C6 #C64EAD #C6A34E #4EC667
split-complementary
#4E71C6 #C6674E #ADC64E
monochromatic
#253C74 #3454A2 #4E71C6 #7C96D5 #ABBBE4

Accessibility & contrast

On white

4.67
#4E71C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4E71C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71C6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71C6#FFFFFF#000000##FFFFFF
##4E71C61.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7AC9
Deuteranopia (green-blind)
#396FC4
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e71c6;
/* rgb */ color: rgb(78, 113, 198);
/* oklch */ color: oklch(56.4% 0.138 265.4);
Tailwind
colors: {
  custom: {
    50: '#8a99d8',
    500: '#4e71c6',
    950: '#000000',
  },
}
SCSS
$custom: #4e71c6;
$custom-light: #8a99d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71c6",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 198
  },
  "hsl": {
    "h": 222.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.13761,
    "h": 265.4
  },
  "luminance": 0.17507
}

Semantic roles & 50–950 ramp

primary
#4E71C6
secondary
#D1C39E
accent
#B14DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #4E71C6

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

Preview Lab → · Contrast checker → · Palette generator →

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