#4A87CD#4A87CD

#4A87CD is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.124 H 253.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4A87CD
RGBrgb(74, 135, 205)
HSLhsl(212, 57%, 55%)
HSVhsv(212, 64%, 80%)
CMYKcmyk(63.9%, 34.1%, 0%, 19.6%)
CIE-LABlab(55.27, 2.13, -42.03)
CIE-LCHlch(55.27, 42.09, 272.91°)
OKLaboklab(61.43% -0.0358 -0.1191)
OKLCHoklch(61.43% 0.124 253.3)
XYZxyz(22.5034, 23.1894, 61.0358)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87CD #CD904A
analogous
#4AC9CD #4A87CD #4F4ACD
triadic
#4A87CD #CD4A87 #87CD4A
tetradic
#4A87CD #CD4AC9 #CD904A #4ACD4F
square
#4A87CD #CD4AC9 #CD904A #4ACD4F
split-complementary
#4A87CD #CD4F4A #C9CD4A
monochromatic
#224B7B #2F69AB #4A87CD #7AA7DA #AAC7E7

Accessibility & contrast

On white

3.72
#4A87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#4A87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87CD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87CD#FFFFFF#000000##000000
##4A87CD1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a87cd;
/* rgb */ color: rgb(74, 135, 205);
/* oklch */ color: oklch(61.4% 0.124 253.3);
Tailwind
colors: {
  custom: {
    50: '#89a9dc',
    500: '#4a87cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a87cd;
$custom-light: #89a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87cd",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 212.061,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61435,
    "c": 0.12434,
    "h": 253.3
  },
  "luminance": 0.23192
}

Semantic roles & 50–950 ramp

primary
#4A87CD
secondary
#D5BB9E
accent
#9948E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4A87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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