#4E87B2#4E87B2

#4E87B2 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.2% C 0.089 H 242.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4E87B2
RGBrgb(78, 135, 178)
HSLhsl(206, 39%, 50%)
HSVhsv(206, 56%, 70%)
CMYKcmyk(56.2%, 24.2%, 0%, 30.2%)
CIE-LABlab(54.20, -5.98, -28.32)
CIE-LCHlch(54.20, 28.95, 258.08°)
OKLaboklab(60.23% -0.0408 -0.0793)
OKLCHoklch(60.23% 0.089 242.8)
XYZxyz(19.8388, 22.1603, 45.3427)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87B2 #B2794E
analogous
#4EB2AB #4E87B2 #4E55B2
triadic
#4E87B2 #B24E87 #87B24E
tetradic
#4E87B2 #AB4EB2 #B2794E #55B24E
square
#4E87B2 #AB4EB2 #B2794E #55B24E
split-complementary
#4E87B2 #B24E55 #B2AB4E
monochromatic
#29465D #3B6788 #4E87B2 #79A4C5 #A3C1D7

Accessibility & contrast

On white

3.87
#4E87B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4E87B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87B2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87B2#FFFFFF#000000##000000
##4E87B21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009196
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e87b2;
/* rgb */ color: rgb(78, 135, 178);
/* oklch */ color: oklch(60.2% 0.089 242.8);
Tailwind
colors: {
  custom: {
    50: '#87a9c9',
    500: '#4e87b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e87b2;
$custom-light: #87a9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87b2",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 205.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.08917,
    "h": 242.8
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

primary
#4E87B2
secondary
#C4AB98
accent
#8C59CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #4E87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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