#4A87DC#4A87DC

#4A87DC is a light, vivid cyan. Relative luminance 0.240; OKLCH L 62.3% C 0.144 H 257.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4A87DC
RGBrgb(74, 135, 220)
HSLhsl(215, 68%, 58%)
HSVhsv(215, 66%, 86%)
CMYKcmyk(66.4%, 38.6%, 0%, 13.7%)
CIE-LABlab(56.04, 7.28, -49.26)
CIE-LCHlch(56.04, 49.79, 278.41°)
OKLaboklab(62.29% -0.0321 -0.1402)
OKLCHoklch(62.29% 0.144 257.1)
XYZxyz(24.4016, 23.9487, 71.0328)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87DC #DC9F4A
analogous
#4AD0DC #4A87DC #564ADC
triadic
#4A87DC #DC4A87 #87DC4A
tetradic
#4A87DC #DC4AD0 #DC9F4A #4ADC56
square
#4A87DC #DC4AD0 #DC9F4A #4ADC56
split-complementary
#4A87DC #DC564A #D0DC4A
monochromatic
#1C4C90 #2667C3 #4A87DC #7DA9E6 #B1CBF0

Accessibility & contrast

On white

3.63
#4A87DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#4A87DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87DC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87DC#FFFFFF#000000##000000
##4A87DC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a87dc;
/* rgb */ color: rgb(74, 135, 220);
/* oklch */ color: oklch(62.3% 0.144 257.1);
Tailwind
colors: {
  custom: {
    50: '#8ba9e7',
    500: '#4a87dc',
    950: '#000000',
  },
}
SCSS
$custom: #4a87dc;
$custom-light: #8ba9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87dc",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 214.932,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62286,
    "c": 0.14383,
    "h": 257.1
  },
  "luminance": 0.23951
}

Semantic roles & 50–950 ramp

primary
#4A87DC
secondary
#DEC6A4
accent
#A23DEA
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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