#4A87CC#4A87CC

#4A87CC is a mid, vivid cyan. Relative luminance 0.231; OKLCH L 61.4% C 0.123 H 253.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4A87CC
RGBrgb(74, 135, 204)
HSLhsl(212, 56%, 55%)
HSVhsv(212, 64%, 80%)
CMYKcmyk(63.7%, 33.8%, 0%, 20%)
CIE-LABlab(55.22, 1.79, -41.55)
CIE-LCHlch(55.22, 41.58, 272.47°)
OKLaboklab(61.38% -0.0361 -0.1176)
OKLCHoklch(61.38% 0.123 253)
XYZxyz(22.3831, 23.1413, 60.4022)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87CC #CC8F4A
analogous
#4AC8CC #4A87CC #4E4ACC
triadic
#4A87CC #CC4A87 #87CC4A
tetradic
#4A87CC #CC4AC8 #CC8F4A #4ACC4E
square
#4A87CC #CC4AC8 #CC8F4A #4ACC4E
split-complementary
#4A87CC #CC4E4A #C8CC4A
monochromatic
#224B79 #3069A9 #4A87CC #7AA7D9 #A9C6E7

Accessibility & contrast

On white

3.73
#4A87CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4A87CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87CC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87CC#FFFFFF#000000##000000
##4A87CC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4a87cc;
/* rgb */ color: rgb(74, 135, 204);
/* oklch */ color: oklch(61.4% 0.123 253.0);
Tailwind
colors: {
  custom: {
    50: '#88a9dc',
    500: '#4a87cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a87cc;
$custom-light: #88a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87cc",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 211.846,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6138,
    "c": 0.12305,
    "h": 253
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#4A87CC
secondary
#D4BB9D
accent
#9948DF
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4A87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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