#4A87C4#4A87C4

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

Color values

HEX#4A87C4
RGBrgb(74, 135, 196)
HSLhsl(210, 51%, 53%)
HSVhsv(210, 62%, 77%)
CMYKcmyk(62.2%, 31.1%, 0%, 23.1%)
CIE-LABlab(54.83, -0.90, -37.62)
CIE-LCHlch(54.83, 37.63, 268.62°)
OKLaboklab(60.95% -0.0383 -0.1062)
OKLCHoklch(60.95% 0.113 250.2)
XYZxyz(21.4482, 22.7673, 55.4781)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87C4 #C4874A
analogous
#4AC4C4 #4A87C4 #4A4AC4
triadic
#4A87C4 #C44A87 #87C44A
tetradic
#4A87C4 #C44AC4 #C4874A #4AC44A
square
#4A87C4 #C44AC4 #C4874A #4AC44A
split-complementary
#4A87C4 #C44A4A #C4C44A
monochromatic
#244A6F #33689D #4A87C4 #78A6D3 #A6C4E2

Accessibility & contrast

On white

3.78
#4A87C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4A87C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87C4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87C4#FFFFFF#000000##000000
##4A87C41.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a87c4;
/* rgb */ color: rgb(74, 135, 196);
/* oklch */ color: oklch(61.0% 0.113 250.2);
Tailwind
colors: {
  custom: {
    50: '#87a9d6',
    500: '#4a87c4',
    950: '#000000',
  },
}
SCSS
$custom: #4a87c4;
$custom-light: #87a9d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87c4",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 210,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.1129,
    "h": 250.2
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#4A87C4
secondary
#CFB59B
accent
#944DDA
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4A87C4

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

Preview Lab → · Contrast checker → · Palette generator →

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