#4E71C1#4E71C1

#4E71C1 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.1% C 0.131 H 264.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4E71C1
RGBrgb(78, 113, 193)
HSLhsl(222, 48%, 53%)
HSVhsv(222, 60%, 76%)
CMYKcmyk(59.6%, 41.5%, 0%, 24.3%)
CIE-LABlab(48.61, 12.16, -45.73)
CIE-LCHlch(48.61, 47.32, 284.89°)
OKLaboklab(56.11% -0.012 -0.1301)
OKLCHoklch(56.11% 0.131 264.7)
XYZxyz(18.6694, 17.2786, 52.7930)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71C1 #C19E4E
analogous
#4EAAC1 #4E71C1 #644EC1
triadic
#4E71C1 #C14E71 #71C14E
tetradic
#4E71C1 #C14EAA #C19E4E #4EC164
square
#4E71C1 #C14EAA #C19E4E #4EC164
split-complementary
#4E71C1 #C1644E #AAC14E
monochromatic
#273C6E #36559B #4E71C1 #7B95D1 #A9BAE1

Accessibility & contrast

On white

4.71
#4E71C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4E71C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71C1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71C1#FFFFFF#000000##FFFFFF
##4E71C11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e71c1;
/* rgb */ color: rgb(78, 113, 193);
/* oklch */ color: oklch(56.1% 0.131 264.7);
Tailwind
colors: {
  custom: {
    50: '#8999d4',
    500: '#4e71c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e71c1;
$custom-light: #8999d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71c1",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 221.739,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.13061,
    "h": 264.7
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#4E71C1
secondary
#CEBF9D
accent
#AE50D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E71C1

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

Preview Lab → · Contrast checker → · Palette generator →

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