#4E87B4#4E87B4

#4E87B4 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.3% C 0.091 H 244.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E87B4
RGBrgb(78, 135, 180)
HSLhsl(206, 40%, 51%)
HSVhsv(206, 57%, 71%)
CMYKcmyk(56.7%, 25%, 0%, 29.4%)
CIE-LABlab(54.28, -5.34, -29.34)
CIE-LCHlch(54.28, 29.82, 259.68°)
OKLaboklab(60.33% -0.0401 -0.0822)
OKLCHoklch(60.33% 0.091 244)
XYZxyz(20.0411, 22.2412, 46.4080)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87B4 #B47B4E
analogous
#4EB4AE #4E87B4 #4E54B4
triadic
#4E87B4 #B44E87 #87B44E
tetradic
#4E87B4 #AE4EB4 #B47B4E #54B44E
square
#4E87B4 #AE4EB4 #B47B4E #54B44E
split-complementary
#4E87B4 #B44E54 #B4AE4E
monochromatic
#28475F #3B678A #4E87B4 #79A4C6 #A4C1D8

Accessibility & contrast

On white

3.85
#4E87B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4E87B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87B4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87B4#FFFFFF#000000##000000
##4E87B41.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7488B6
Deuteranopia (green-blind)
#667DB3
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e87b4;
/* rgb */ color: rgb(78, 135, 180);
/* oklch */ color: oklch(60.3% 0.091 244.0);
Tailwind
colors: {
  custom: {
    50: '#87a9ca',
    500: '#4e87b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e87b4;
$custom-light: #87a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87b4",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 180
  },
  "hsl": {
    "h": 206.471,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.09148,
    "h": 244
  },
  "luminance": 0.22243
}

Semantic roles & 50–950 ramp

primary
#4E87B4
secondary
#C6AC98
accent
#8D57D0
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E87B4

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

Preview Lab → · Contrast checker → · Palette generator →

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