#4A87C5#4A87C5

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

Color values

HEX#4A87C5
RGBrgb(74, 135, 197)
HSLhsl(210, 51%, 53%)
HSVhsv(210, 62%, 77%)
CMYKcmyk(62.4%, 31.5%, 0%, 22.7%)
CIE-LABlab(54.88, -0.57, -38.11)
CIE-LCHlch(54.88, 38.12, 269.15°)
OKLaboklab(61% -0.038 -0.1076)
OKLCHoklch(61% 0.114 250.6)
XYZxyz(21.5624, 22.8130, 56.0795)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87C5 #C5884A
analogous
#4AC4C5 #4A87C5 #4A4AC5
triadic
#4A87C5 #C54A87 #87C54A
tetradic
#4A87C5 #C54AC4 #C5884A #4AC54A
square
#4A87C5 #C54AC4 #C5884A #4AC54A
split-complementary
#4A87C5 #C54A4A #C4C54A
monochromatic
#244A71 #33689F #4A87C5 #78A6D4 #A7C4E3

Accessibility & contrast

On white

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

On black

5.56
#4A87C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87C5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87C5#FFFFFF#000000##000000
##4A87C51.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8AC8
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#00959D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4a87c5;
/* rgb */ color: rgb(74, 135, 197);
/* oklch */ color: oklch(61.0% 0.114 250.6);
Tailwind
colors: {
  custom: {
    50: '#87a9d7',
    500: '#4a87c5',
    950: '#000000',
  },
}
SCSS
$custom: #4a87c5;
$custom-light: #87a9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87c5",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 197
  },
  "hsl": {
    "h": 210.244,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61004,
    "c": 0.11416,
    "h": 250.6
  },
  "luminance": 0.22815
}

Semantic roles & 50–950 ramp

primary
#4A87C5
secondary
#D0B69B
accent
#944DDB
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4A87C5

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

Preview Lab → · Contrast checker → · Palette generator →

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