#4A87D4#4A87D4

#4A87D4 is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.8% C 0.133 H 255.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4A87D4
RGBrgb(74, 135, 212)
HSLhsl(213, 62%, 56%)
HSVhsv(213, 65%, 83%)
CMYKcmyk(65.1%, 36.3%, 0%, 16.9%)
CIE-LABlab(55.62, 4.52, -45.43)
CIE-LCHlch(55.62, 45.65, 275.69°)
OKLaboklab(61.83% -0.034 -0.129)
OKLCHoklch(61.83% 0.133 255.2)
XYZxyz(23.3674, 23.5350, 65.5858)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87D4 #D4974A
analogous
#4ACCD4 #4A87D4 #524AD4
triadic
#4A87D4 #D44A87 #87D44A
tetradic
#4A87D4 #D44ACC #D4974A #4AD452
square
#4A87D4 #D44ACC #D4974A #4AD452
split-complementary
#4A87D4 #D4524A #CCD44A
monochromatic
#1F4C84 #2B68B6 #4A87D4 #7BA8E0 #ADC9EB

Accessibility & contrast

On white

3.68
#4A87D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#4A87D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87D4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87D4#FFFFFF#000000##000000
##4A87D41.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a87d4;
/* rgb */ color: rgb(74, 135, 212);
/* oklch */ color: oklch(61.8% 0.133 255.2);
Tailwind
colors: {
  custom: {
    50: '#8aa9e1',
    500: '#4a87d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a87d4;
$custom-light: #8aa9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87d4",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 213.478,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.13339,
    "h": 255.2
  },
  "luminance": 0.23537
}

Semantic roles & 50–950 ramp

primary
#4A87D4
secondary
#D9C0A0
accent
#9D43E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4A87D4

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

Preview Lab → · Contrast checker → · Palette generator →

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