#4E87AB#4E87AB

#4E87AB is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.9% C 0.081 H 237.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4E87AB
RGBrgb(78, 135, 171)
HSLhsl(203, 37%, 49%)
HSVhsv(203, 54%, 67%)
CMYKcmyk(54.4%, 21.1%, 0%, 32.9%)
CIE-LABlab(53.91, -8.18, -24.75)
CIE-LCHlch(53.91, 26.07, 251.72°)
OKLaboklab(59.91% -0.0433 -0.069)
OKLCHoklch(59.91% 0.081 237.9)
XYZxyz(19.1538, 21.8863, 41.7353)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87AB #AB724E
analogous
#4EABA1 #4E87AB #4E59AB
triadic
#4E87AB #AB4E87 #87AB4E
tetradic
#4E87AB #A14EAB #AB724E #59AB4E
square
#4E87AB #A14EAB #AB724E #59AB4E
split-complementary
#4E87AB #AB4E59 #ABA14E
monochromatic
#284557 #3B6681 #4E87AB #76A4C0 #A0C0D4

Accessibility & contrast

On white

3.91
#4E87AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4E87AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87AB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87AB#FFFFFF#000000##000000
##4E87AB1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AD
Deuteranopia (green-blind)
#6A7DAA
Tritanopia (blue-blind)
#0E9093
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e87ab;
/* rgb */ color: rgb(78, 135, 171);
/* oklch */ color: oklch(59.9% 0.081 237.9);
Tailwind
colors: {
  custom: {
    50: '#86a9c4',
    500: '#4e87ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e87ab;
$custom-light: #86a9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87ab",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 203.226,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59906,
    "c": 0.08149,
    "h": 237.9
  },
  "luminance": 0.21888
}

Semantic roles & 50–950 ramp

primary
#4E87AB
secondary
#C1A594
accent
#875ACD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #4E87AB

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

Preview Lab → · Contrast checker → · Palette generator →

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