#4E71C8#4E71C8

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

Color values

HEX#4E71C8
RGBrgb(78, 113, 200)
HSLhsl(223, 53%, 55%)
HSVhsv(223, 61%, 78%)
CMYKcmyk(61%, 43.5%, 0%, 21.6%)
CIE-LABlab(49.01, 14.54, -49.11)
CIE-LCHlch(49.01, 51.22, 286.49°)
OKLaboklab(56.54% -0.0107 -0.14)
OKLCHoklch(56.54% 0.14 265.6)
XYZxyz(19.4688, 17.5984, 57.0032)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71C8 #C8A54E
analogous
#4EAEC8 #4E71C8 #684EC8
triadic
#4E71C8 #C84E71 #71C84E
tetradic
#4E71C8 #C84EAE #C8A54E #4EC868
square
#4E71C8 #C84EAE #C8A54E #4EC868
split-complementary
#4E71C8 #C8684E #AEC84E
monochromatic
#253C77 #3354A5 #4E71C8 #7D96D7 #ABBCE5

Accessibility & contrast

On white

4.65
#4E71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4E71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71C8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71C8#FFFFFF#000000##FFFFFF
##4E71C81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#376FC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e71c8;
/* rgb */ color: rgb(78, 113, 200);
/* oklch */ color: oklch(56.5% 0.140 265.6);
Tailwind
colors: {
  custom: {
    50: '#8a99d9',
    500: '#4e71c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e71c8;
$custom-light: #8a99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71c8",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 222.787,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.14041,
    "h": 265.6
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#4E71C8
secondary
#D3C49F
accent
#B34CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4E71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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