#4A87C6#4A87C6

#4A87C6 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 61.1% C 0.115 H 250.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4A87C6
RGBrgb(74, 135, 198)
HSLhsl(210, 52%, 53%)
HSVhsv(210, 63%, 78%)
CMYKcmyk(62.6%, 31.8%, 0%, 22.4%)
CIE-LABlab(54.93, -0.23, -38.60)
CIE-LCHlch(54.93, 38.60, 269.66°)
OKLaboklab(61.06% -0.0377 -0.1091)
OKLCHoklch(61.06% 0.115 250.9)
XYZxyz(21.6773, 22.8589, 56.6850)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87C6 #C6894A
analogous
#4AC5C6 #4A87C6 #4B4AC6
triadic
#4A87C6 #C64A87 #87C64A
tetradic
#4A87C6 #C64AC5 #C6894A #4AC64B
square
#4A87C6 #C64AC5 #C6894A #4AC64B
split-complementary
#4A87C6 #C64B4A #C5C64A
monochromatic
#244A72 #3269A0 #4A87C6 #79A6D5 #A7C5E3

Accessibility & contrast

On white

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

On black

5.57
#4A87C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87C6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87C6#FFFFFF#000000##000000
##4A87C61.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8AC9
Deuteranopia (green-blind)
#5B7EC5
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4a87c6;
/* rgb */ color: rgb(74, 135, 198);
/* oklch */ color: oklch(61.1% 0.115 250.9);
Tailwind
colors: {
  custom: {
    50: '#88a9d7',
    500: '#4a87c6',
    950: '#000000',
  },
}
SCSS
$custom: #4a87c6;
$custom-light: #88a9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87c6",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 198
  },
  "hsl": {
    "h": 210.484,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.11542,
    "h": 250.9
  },
  "luminance": 0.22861
}

Semantic roles & 50–950 ramp

primary
#4A87C6
secondary
#D1B69B
accent
#954CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4A87C6

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

Preview Lab → · Contrast checker → · Palette generator →

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