#4E87A8#4E87A8

#4E87A8 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.8% C 0.078 H 235.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4E87A8
RGBrgb(78, 135, 168)
HSLhsl(202, 37%, 48%)
HSVhsv(202, 54%, 66%)
CMYKcmyk(53.6%, 19.6%, 0%, 34.1%)
CIE-LABlab(53.79, -9.11, -23.21)
CIE-LCHlch(53.79, 24.94, 248.58°)
OKLaboklab(59.77% -0.0443 -0.0646)
OKLCHoklch(59.77% 0.078 235.5)
XYZxyz(18.8711, 21.7732, 40.2464)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87A8 #A86F4E
analogous
#4EA89C #4E87A8 #4E5AA8
triadic
#4E87A8 #A84E87 #87A84E
tetradic
#4E87A8 #9C4EA8 #A86F4E #5AA84E
square
#4E87A8 #9C4EA8 #A86F4E #5AA84E
split-complementary
#4E87A8 #A84E5A #A89C4E
monochromatic
#274454 #3B657E #4E87A8 #75A3BF #9EBFD2

Accessibility & contrast

On white

3.92
#4E87A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4E87A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87A8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87A8#FFFFFF#000000##000000
##4E87A81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7886AA
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#149092
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e87a8;
/* rgb */ color: rgb(78, 135, 168);
/* oklch */ color: oklch(59.8% 0.078 235.5);
Tailwind
colors: {
  custom: {
    50: '#86aac2',
    500: '#4e87a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e87a8;
$custom-light: #86aac2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87a8",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 168
  },
  "hsl": {
    "h": 202,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59771,
    "c": 0.0784,
    "h": 235.5
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

primary
#4E87A8
secondary
#BFA393
accent
#855BCD
background
#F8FAFB
surface
#F0F4F7
border
#CBCED0
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #4E87A8

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

Preview Lab → · Contrast checker → · Palette generator →

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