#4E71C0#4E71C0

#4E71C0 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.129 H 264.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E71C0
RGBrgb(78, 113, 192)
HSLhsl(222, 48%, 53%)
HSVhsv(222, 59%, 75%)
CMYKcmyk(59.4%, 41.1%, 0%, 24.7%)
CIE-LABlab(48.55, 11.82, -45.24)
CIE-LCHlch(48.55, 46.76, 284.64°)
OKLaboklab(56.05% -0.0122 -0.1286)
OKLCHoklch(56.05% 0.129 264.6)
XYZxyz(18.5582, 17.2342, 52.2075)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71C0 #C09D4E
analogous
#4EAAC0 #4E71C0 #644EC0
triadic
#4E71C0 #C04E71 #71C04E
tetradic
#4E71C0 #C04EAA #C09D4E #4EC064
square
#4E71C0 #C04EAA #C09D4E #4EC064
split-complementary
#4E71C0 #C0644E #AAC04E
monochromatic
#273C6D #37559A #4E71C0 #7B95D0 #A8B9E0

Accessibility & contrast

On white

4.72
#4E71C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4E71C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71C0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71C0#FFFFFF#000000##FFFFFF
##4E71C01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C3
Deuteranopia (green-blind)
#3F6EBE
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e71c0;
/* rgb */ color: rgb(78, 113, 192);
/* oklch */ color: oklch(56.0% 0.129 264.6);
Tailwind
colors: {
  custom: {
    50: '#8999d3',
    500: '#4e71c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e71c0;
$custom-light: #8999d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71c0",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 221.579,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56046,
    "c": 0.12921,
    "h": 264.6
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#4E71C0
secondary
#CEBE9C
accent
#AE51D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E71C0

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

Preview Lab → · Contrast checker → · Palette generator →

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