#4E71C2#4E71C2

#4E71C2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.132 H 264.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4E71C2
RGBrgb(78, 113, 194)
HSLhsl(222, 49%, 53%)
HSVhsv(222, 60%, 76%)
CMYKcmyk(59.8%, 41.8%, 0%, 23.9%)
CIE-LABlab(48.66, 12.50, -46.21)
CIE-LCHlch(48.66, 47.87, 285.13°)
OKLaboklab(56.17% -0.0118 -0.1315)
OKLCHoklch(56.17% 0.132 264.9)
XYZxyz(18.7813, 17.3234, 53.3825)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71C2 #C29F4E
analogous
#4EABC2 #4E71C2 #654EC2
triadic
#4E71C2 #C24E71 #71C24E
tetradic
#4E71C2 #C24EAB #C29F4E #4EC265
square
#4E71C2 #C24EAB #C29F4E #4EC265
split-complementary
#4E71C2 #C2654E #ABC24E
monochromatic
#263C6F #36559D #4E71C2 #7C96D2 #A9BAE1

Accessibility & contrast

On white

4.70
#4E71C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4E71C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71C2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71C2#FFFFFF#000000##FFFFFF
##4E71C21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#3D6FC0
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e71c2;
/* rgb */ color: rgb(78, 113, 194);
/* oklch */ color: oklch(56.2% 0.132 264.9);
Tailwind
colors: {
  custom: {
    50: '#8999d5',
    500: '#4e71c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e71c2;
$custom-light: #8999d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71c2",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 221.897,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.13201,
    "h": 264.9
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#4E71C2
secondary
#CFC09D
accent
#AF50D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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