#4A87C8#4A87C8

#4A87C8 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 61.2% C 0.118 H 251.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4A87C8
RGBrgb(74, 135, 200)
HSLhsl(211, 53%, 54%)
HSVhsv(211, 63%, 78%)
CMYKcmyk(63%, 32.5%, 0%, 21.6%)
CIE-LABlab(55.02, 0.44, -39.59)
CIE-LCHlch(55.02, 39.59, 270.64°)
OKLaboklab(61.16% -0.0372 -0.1119)
OKLCHoklch(61.16% 0.118 251.6)
XYZxyz(21.9095, 22.9518, 57.9079)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87C8 #C88B4A
analogous
#4AC6C8 #4A87C8 #4C4AC8
triadic
#4A87C8 #C84A87 #87C84A
tetradic
#4A87C8 #C84AC6 #C88B4A #4AC84C
square
#4A87C8 #C84AC6 #C88B4A #4AC84C
split-complementary
#4A87C8 #C84C4A #C6C84A
monochromatic
#234B74 #3269A3 #4A87C8 #79A6D6 #A8C5E5

Accessibility & contrast

On white

3.76
#4A87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#4A87C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87C8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87C8#FFFFFF#000000##000000
##4A87C81.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8ACB
Deuteranopia (green-blind)
#5A7EC7
Tritanopia (blue-blind)
#00969E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4a87c8;
/* rgb */ color: rgb(74, 135, 200);
/* oklch */ color: oklch(61.2% 0.118 251.6);
Tailwind
colors: {
  custom: {
    50: '#88a9d9',
    500: '#4a87c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a87c8;
$custom-light: #88a9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87c8",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 210.952,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61163,
    "c": 0.11795,
    "h": 251.6
  },
  "luminance": 0.22954
}

Semantic roles & 50–950 ramp

primary
#4A87C8
secondary
#D2B89C
accent
#964BDD
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4A87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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