#4A87CA#4A87CA

#4A87CA is a mid, vivid cyan. Relative luminance 0.230; OKLCH L 61.3% C 0.120 H 252.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4A87CA
RGBrgb(74, 135, 202)
HSLhsl(211, 55%, 54%)
HSVhsv(211, 63%, 79%)
CMYKcmyk(63.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.12, 1.12, -40.57)
CIE-LCHlch(55.12, 40.58, 271.58°)
OKLaboklab(61.27% -0.0366 -0.1148)
OKLCHoklch(61.27% 0.121 252.3)
XYZxyz(22.1448, 23.0459, 59.1469)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87CA #CA8D4A
analogous
#4AC7CA #4A87CA #4D4ACA
triadic
#4A87CA #CA4A87 #87CA4A
tetradic
#4A87CA #CA4AC7 #CA8D4A #4ACA4D
square
#4A87CA #CA4AC7 #CA8D4A #4ACA4D
split-complementary
#4A87CA #CA4D4A #C7CA4A
monochromatic
#234B77 #3169A6 #4A87CA #79A6D8 #A9C6E6

Accessibility & contrast

On white

3.74
#4A87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#4A87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87CA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87CA#FFFFFF#000000##000000
##4A87CA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#597EC9
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4a87ca;
/* rgb */ color: rgb(74, 135, 202);
/* oklch */ color: oklch(61.3% 0.120 252.3);
Tailwind
colors: {
  custom: {
    50: '#88a9da',
    500: '#4a87ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a87ca;
$custom-light: #88a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87ca",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 211.406,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61271,
    "c": 0.1205,
    "h": 252.3
  },
  "luminance": 0.23048
}

Semantic roles & 50–950 ramp

primary
#4A87CA
secondary
#D3B99D
accent
#974ADE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4A87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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