#4E87AC#4E87AC

#4E87AC is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 60.0% C 0.083 H 238.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E87AC
RGBrgb(78, 135, 172)
HSLhsl(204, 38%, 49%)
HSVhsv(204, 55%, 67%)
CMYKcmyk(54.7%, 21.5%, 0%, 32.5%)
CIE-LABlab(53.95, -7.87, -25.27)
CIE-LCHlch(53.95, 26.46, 252.70°)
OKLaboklab(59.95% -0.0429 -0.0705)
OKLCHoklch(59.95% 0.083 238.7)
XYZxyz(19.2495, 21.9246, 42.2392)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87AC #AC734E
analogous
#4EACA2 #4E87AC #4E58AC
triadic
#4E87AC #AC4E87 #87AC4E
tetradic
#4E87AC #A24EAC #AC734E #58AC4E
square
#4E87AC #A24EAC #AC734E #58AC4E
split-complementary
#4E87AC #AC4E58 #ACA24E
monochromatic
#284558 #3B6682 #4E87AC #76A4C1 #A0C0D4

Accessibility & contrast

On white

3.90
#4E87AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4E87AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87AC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87AC#FFFFFF#000000##000000
##4E87AC1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AE
Deuteranopia (green-blind)
#697DAB
Tritanopia (blue-blind)
#0B9093
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e87ac;
/* rgb */ color: rgb(78, 135, 172);
/* oklch */ color: oklch(60.0% 0.083 238.7);
Tailwind
colors: {
  custom: {
    50: '#86a9c4',
    500: '#4e87ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e87ac;
$custom-light: #86a9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87ac",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 203.617,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59952,
    "c": 0.08254,
    "h": 238.7
  },
  "luminance": 0.21926
}

Semantic roles & 50–950 ramp

primary
#4E87AC
secondary
#C1A695
accent
#885ACE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #4E87AC

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

Preview Lab → · Contrast checker → · Palette generator →

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