#4887D4#4887D4

#4887D4 is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.7% C 0.134 H 254.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4887D4
RGBrgb(72, 135, 212)
HSLhsl(213, 62%, 56%)
HSVhsv(213, 66%, 83%)
CMYKcmyk(66%, 36.3%, 0%, 16.9%)
CIE-LABlab(55.54, 4.19, -45.56)
CIE-LCHlch(55.54, 45.75, 275.25°)
OKLaboklab(61.74% -0.0355 -0.1294)
OKLCHoklch(61.74% 0.134 254.7)
XYZxyz(23.2158, 23.4568, 65.5787)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4887D4 #D49548
analogous
#48CDD4 #4887D4 #4F48D4
triadic
#4887D4 #D44887 #87D448
tetradic
#4887D4 #D448CD #D49548 #48D44F
square
#4887D4 #D448CD #D49548 #48D44F
split-complementary
#4887D4 #D44F48 #CDD448
monochromatic
#1F4C83 #2A68B4 #4887D4 #7AA7E0 #ABC8EB

Accessibility & contrast

On white

3.69
#4887D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#4887D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4887D4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4887D4#FFFFFF#000000##000000
##4887D41.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD7
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#0099A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4887d4;
/* rgb */ color: rgb(72, 135, 212);
/* oklch */ color: oklch(61.7% 0.134 254.7);
Tailwind
colors: {
  custom: {
    50: '#89a9e1',
    500: '#4887d4',
    950: '#000000',
  },
}
SCSS
$custom: #4887d4;
$custom-light: #89a9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4887d4",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 213,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61741,
    "c": 0.13417,
    "h": 254.7
  },
  "luminance": 0.23459
}

Semantic roles & 50–950 ramp

primary
#4887D4
secondary
#D9BF9F
accent
#9C43E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4887D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4887D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva