#4E87A7#4E87A7

#4E87A7 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.7% C 0.077 H 234.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E87A7
RGBrgb(78, 135, 167)
HSLhsl(202, 36%, 48%)
HSVhsv(202, 53%, 65%)
CMYKcmyk(53.3%, 19.2%, 0%, 34.5%)
CIE-LABlab(53.75, -9.42, -22.70)
CIE-LCHlch(53.75, 24.57, 247.47°)
OKLaboklab(59.73% -0.0447 -0.0632)
OKLCHoklch(59.73% 0.077 234.7)
XYZxyz(18.7783, 21.7361, 39.7576)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87A7 #A76E4E
analogous
#4EA79A #4E87A7 #4E5AA7
triadic
#4E87A7 #A74E87 #87A74E
tetradic
#4E87A7 #9A4EA7 #A76E4E #5AA74E
square
#4E87A7 #9A4EA7 #A76E4E #5AA74E
split-complementary
#4E87A7 #A74E5A #A79A4E
monochromatic
#274454 #3B657D #4E87A7 #74A3BE #9EBFD2

Accessibility & contrast

On white

3.93
#4E87A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4E87A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87A7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87A7#FFFFFF#000000##000000
##4E87A71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7886A9
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#168F92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e87a7;
/* rgb */ color: rgb(78, 135, 167);
/* oklch */ color: oklch(59.7% 0.077 234.7);
Tailwind
colors: {
  custom: {
    50: '#86aac1',
    500: '#4e87a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e87a7;
$custom-light: #86aac1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87a7",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 167
  },
  "hsl": {
    "h": 201.573,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.07741,
    "h": 234.7
  },
  "luminance": 0.21738
}

Semantic roles & 50–950 ramp

primary
#4E87A7
secondary
#BEA292
accent
#845BCC
background
#F8FAFB
surface
#F0F4F7
border
#CBCED0
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #4E87A7

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

Preview Lab → · Contrast checker → · Palette generator →

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