#4A87C2#4A87C2

#4A87C2 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.8% C 0.110 H 249.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4A87C2
RGBrgb(74, 135, 194)
HSLhsl(210, 50%, 53%)
HSVhsv(210, 62%, 76%)
CMYKcmyk(61.9%, 30.4%, 0%, 23.9%)
CIE-LABlab(54.74, -1.57, -36.63)
CIE-LCHlch(54.74, 36.66, 267.54°)
OKLaboklab(60.85% -0.0389 -0.1033)
OKLCHoklch(60.85% 0.11 249.4)
XYZxyz(21.2221, 22.6768, 54.2871)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87C2 #C2854A
analogous
#4AC2C1 #4A87C2 #4A4BC2
triadic
#4A87C2 #C24A87 #87C24A
tetradic
#4A87C2 #C14AC2 #C2854A #4BC24A
square
#4A87C2 #C14AC2 #C2854A #4BC24A
split-complementary
#4A87C2 #C24A4B #C2C14A
monochromatic
#25496D #34689B #4A87C2 #78A5D1 #A6C4E1

Accessibility & contrast

On white

3.79
#4A87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4A87C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87C2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87C2#FFFFFF#000000##000000
##4A87C21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a87c2;
/* rgb */ color: rgb(74, 135, 194);
/* oklch */ color: oklch(60.8% 0.110 249.4);
Tailwind
colors: {
  custom: {
    50: '#87a9d4',
    500: '#4a87c2',
    950: '#000000',
  },
}
SCSS
$custom: #4a87c2;
$custom-light: #87a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87c2",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 209.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.11042,
    "h": 249.4
  },
  "luminance": 0.22679
}

Semantic roles & 50–950 ramp

primary
#4A87C2
secondary
#CEB39A
accent
#934FD9
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4A87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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