#4E87A2#4E87A2

#4E87A2 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.5% C 0.073 H 230.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4E87A2
RGBrgb(78, 135, 162)
HSLhsl(199, 35%, 47%)
HSVhsv(199, 52%, 64%)
CMYKcmyk(51.9%, 16.7%, 0%, 36.5%)
CIE-LABlab(53.55, -10.94, -20.11)
CIE-LCHlch(53.55, 22.90, 241.45°)
OKLaboklab(59.51% -0.0466 -0.0558)
OKLCHoklch(59.51% 0.073 230.2)
XYZxyz(18.3250, 21.5548, 37.3702)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87A2 #A2694E
analogous
#4EA293 #4E87A2 #4E5DA2
triadic
#4E87A2 #A24E87 #87A24E
tetradic
#4E87A2 #934EA2 #A2694E #5DA24E
square
#4E87A2 #934EA2 #A2694E #5DA24E
split-complementary
#4E87A2 #A24E5D #A2934E
monochromatic
#26424F #3A6579 #4E87A2 #72A4BB #9BBECF

Accessibility & contrast

On white

3.95
#4E87A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4E87A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87A2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87A2#FFFFFF#000000##000000
##4E87A21.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7985A3
Deuteranopia (green-blind)
#6D7CA2
Tritanopia (blue-blind)
#1D8F90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e87a2;
/* rgb */ color: rgb(78, 135, 162);
/* oklch */ color: oklch(59.5% 0.073 230.2);
Tailwind
colors: {
  custom: {
    50: '#85aabd',
    500: '#4e87a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e87a2;
$custom-light: #85aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87a2",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 199.286,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.07273,
    "h": 230.2
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#4E87A2
secondary
#BC9E90
accent
#805DCB
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #4E87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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