#4A87D2#4A87D2

#4A87D2 is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.7% C 0.131 H 254.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4A87D2
RGBrgb(74, 135, 210)
HSLhsl(213, 60%, 56%)
HSVhsv(213, 65%, 82%)
CMYKcmyk(64.8%, 35.7%, 0%, 17.6%)
CIE-LABlab(55.52, 3.84, -44.46)
CIE-LCHlch(55.52, 44.63, 274.94°)
OKLaboklab(61.71% -0.0345 -0.1262)
OKLCHoklch(61.71% 0.131 254.7)
XYZxyz(23.1167, 23.4347, 64.2654)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87D2 #D2954A
analogous
#4ACBD2 #4A87D2 #514AD2
triadic
#4A87D2 #D24A87 #87D24A
tetradic
#4A87D2 #D24ACB #D2954A #4AD251
square
#4A87D2 #D24ACB #D2954A #4AD251
split-complementary
#4A87D2 #D2514A #CBD24A
monochromatic
#204C81 #2C68B2 #4A87D2 #7BA7DE #ACC8EA

Accessibility & contrast

On white

3.69
#4A87D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#4A87D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87D2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87D2#FFFFFF#000000##000000
##4A87D21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#668CD5
Deuteranopia (green-blind)
#537FD0
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4a87d2;
/* rgb */ color: rgb(74, 135, 210);
/* oklch */ color: oklch(61.7% 0.131 254.7);
Tailwind
colors: {
  custom: {
    50: '#89a9e0',
    500: '#4a87d2',
    950: '#000000',
  },
}
SCSS
$custom: #4a87d2;
$custom-light: #89a9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87d2",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 213.088,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.13079,
    "h": 254.7
  },
  "luminance": 0.23437
}

Semantic roles & 50–950 ramp

primary
#4A87D2
secondary
#D8BFA0
accent
#9C44E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4A87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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