#4E71A1#4E71A1

#4E71A1 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.3% C 0.086 H 256.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4E71A1
RGBrgb(78, 113, 161)
HSLhsl(215, 35%, 47%)
HSVhsv(215, 52%, 63%)
CMYKcmyk(51.6%, 29.8%, 0%, 36.9%)
CIE-LABlab(46.98, 1.59, -29.70)
CIE-LCHlch(46.98, 29.74, 273.06°)
OKLaboklab(54.31% -0.02 -0.0833)
OKLCHoklch(54.31% 0.086 256.5)
XYZxyz(15.4778, 16.0020, 35.9844)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71A1 #A17E4E
analogous
#4E9BA1 #4E71A1 #554EA1
triadic
#4E71A1 #A14E71 #71A14E
tetradic
#4E71A1 #A14E9B #A17E4E #4EA155
square
#4E71A1 #A14E9B #A17E4E #4EA155
split-complementary
#4E71A1 #A1554E #9BA14E
monochromatic
#26374F #3A5478 #4E71A1 #7290BB #9BB1CF

Accessibility & contrast

On white

5.00
#4E71A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4E71A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71A1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71A1#FFFFFF#000000##FFFFFF
##4E71A11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A3
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#267C82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e71a1;
/* rgb */ color: rgb(78, 113, 161);
/* oklch */ color: oklch(54.3% 0.086 256.5);
Tailwind
colors: {
  custom: {
    50: '#8599bd',
    500: '#4e71a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e71a1;
$custom-light: #8599bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71a1",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 161
  },
  "hsl": {
    "h": 214.699,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54306,
    "c": 0.0857,
    "h": 256.5
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#4E71A1
secondary
#BBA990
accent
#9C5DCB
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E71A1

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

Preview Lab → · Contrast checker → · Palette generator →

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