#4E87A0#4E87A0

#4E87A0 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.4% C 0.071 H 228.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4E87A0
RGBrgb(78, 135, 160)
HSLhsl(198, 34%, 47%)
HSVhsv(198, 51%, 63%)
CMYKcmyk(51.2%, 15.6%, 0%, 37.3%)
CIE-LABlab(53.48, -11.54, -19.07)
CIE-LCHlch(53.48, 22.29, 238.82°)
OKLaboklab(59.42% -0.0474 -0.0529)
OKLCHoklch(59.42% 0.071 228.2)
XYZxyz(18.1487, 21.4842, 36.4414)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87A0 #A0674E
analogous
#4EA090 #4E87A0 #4E5EA0
triadic
#4E87A0 #A04E87 #87A04E
tetradic
#4E87A0 #904EA0 #A0674E #5EA04E
square
#4E87A0 #904EA0 #A0674E #5EA04E
split-complementary
#4E87A0 #A04E5E #A0904E
monochromatic
#26424E #3A6477 #4E87A0 #71A4BA #9ABECE

Accessibility & contrast

On white

3.96
#4E87A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4E87A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87A0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87A0#FFFFFF#000000##000000
##4E87A01.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A85A1
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#208E8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e87a0;
/* rgb */ color: rgb(78, 135, 160);
/* oklch */ color: oklch(59.4% 0.071 228.2);
Tailwind
colors: {
  custom: {
    50: '#85aabc',
    500: '#4e87a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e87a0;
$custom-light: #85aabc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87a0",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 160
  },
  "hsl": {
    "h": 198.293,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.07101,
    "h": 228.2
  },
  "luminance": 0.21486
}

Semantic roles & 50–950 ramp

primary
#4E87A0
secondary
#BB9C8F
accent
#7F5DCB
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #4E87A0

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

Preview Lab → · Contrast checker → · Palette generator →

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