#4E87C2#4E87C2

#4E87C2 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 61.0% C 0.109 H 250.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4E87C2
RGBrgb(78, 135, 194)
HSLhsl(211, 49%, 53%)
HSVhsv(211, 60%, 76%)
CMYKcmyk(59.8%, 30.4%, 0%, 23.9%)
CIE-LABlab(54.91, -0.80, -36.35)
CIE-LCHlch(54.91, 36.36, 268.74°)
OKLaboklab(61.03% -0.0357 -0.1025)
OKLCHoklch(61.03% 0.109 250.8)
XYZxyz(21.5399, 22.8407, 54.3021)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87C2 #C2894E
analogous
#4EC1C2 #4E87C2 #4F4EC2
triadic
#4E87C2 #C24E87 #87C24E
tetradic
#4E87C2 #C24EC1 #C2894E #4EC24F
square
#4E87C2 #C24EC1 #C2894E #4EC24F
split-complementary
#4E87C2 #C24F4E #C1C24E
monochromatic
#264A6F #36699D #4E87C2 #7CA6D2 #A9C5E1

Accessibility & contrast

On white

3.77
#4E87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4E87C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87C2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87C2#FFFFFF#000000##000000
##4E87C21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8AC5
Deuteranopia (green-blind)
#5F7EC1
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e87c2;
/* rgb */ color: rgb(78, 135, 194);
/* oklch */ color: oklch(61.0% 0.109 250.8);
Tailwind
colors: {
  custom: {
    50: '#89a9d4',
    500: '#4e87c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e87c2;
$custom-light: #89a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87c2",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 210.517,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61027,
    "c": 0.10853,
    "h": 250.8
  },
  "luminance": 0.22843
}

Semantic roles & 50–950 ramp

primary
#4E87C2
secondary
#CFB69D
accent
#9550D8
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4E87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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