#4E87AA#4E87AA

#4E87AA is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.9% C 0.080 H 237.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4E87AA
RGBrgb(78, 135, 170)
HSLhsl(203, 37%, 49%)
HSVhsv(203, 54%, 67%)
CMYKcmyk(54.1%, 20.6%, 0%, 33.3%)
CIE-LABlab(53.87, -8.49, -24.24)
CIE-LCHlch(53.87, 25.68, 250.70°)
OKLaboklab(59.86% -0.0436 -0.0676)
OKLCHoklch(59.86% 0.08 237.2)
XYZxyz(19.0589, 21.8483, 41.2352)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87AA #AA714E
analogous
#4EAA9F #4E87AA #4E59AA
triadic
#4E87AA #AA4E87 #87AA4E
tetradic
#4E87AA #9F4EAA #AA714E #59AA4E
square
#4E87AA #9F4EAA #AA714E #59AA4E
split-complementary
#4E87AA #AA4E59 #AA9F4E
monochromatic
#284456 #3B6680 #4E87AA #75A4C0 #9FBFD3

Accessibility & contrast

On white

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

On black

5.37
#4E87AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87AA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87AA#FFFFFF#000000##000000
##4E87AA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AC
Deuteranopia (green-blind)
#6A7DA9
Tritanopia (blue-blind)
#109093
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e87aa;
/* rgb */ color: rgb(78, 135, 170);
/* oklch */ color: oklch(59.9% 0.080 237.2);
Tailwind
colors: {
  custom: {
    50: '#86a9c3',
    500: '#4e87aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e87aa;
$custom-light: #86a9c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87aa",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 202.826,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59861,
    "c": 0.08044,
    "h": 237.2
  },
  "luminance": 0.2185
}

Semantic roles & 50–950 ramp

primary
#4E87AA
secondary
#C0A594
accent
#865BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #4E87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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