#4A87CB#4A87CB

#4A87CB is a mid, vivid cyan. Relative luminance 0.231; OKLCH L 61.3% C 0.122 H 252.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4A87CB
RGBrgb(74, 135, 203)
HSLhsl(212, 55%, 54%)
HSVhsv(212, 64%, 80%)
CMYKcmyk(63.5%, 33.5%, 0%, 20.4%)
CIE-LABlab(55.17, 1.46, -41.06)
CIE-LCHlch(55.17, 41.08, 272.03°)
OKLaboklab(61.33% -0.0363 -0.1162)
OKLCHoklch(61.33% 0.122 252.6)
XYZxyz(22.2636, 23.0934, 59.7725)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87CB #CB8E4A
analogous
#4AC8CB #4A87CB #4E4ACB
triadic
#4A87CB #CB4A87 #87CB4A
tetradic
#4A87CB #CB4AC8 #CB8E4A #4ACB4E
square
#4A87CB #CB4AC8 #CB8E4A #4ACB4E
split-complementary
#4A87CB #CB4E4A #C8CB4A
monochromatic
#234B78 #3069A8 #4A87CB #7AA7D9 #A9C6E6

Accessibility & contrast

On white

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

On black

5.62
#4A87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87CB#FFFFFF#000000##000000
##4A87CB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#587ECA
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4a87cb;
/* rgb */ color: rgb(74, 135, 203);
/* oklch */ color: oklch(61.3% 0.122 252.6);
Tailwind
colors: {
  custom: {
    50: '#88a9db',
    500: '#4a87cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a87cb;
$custom-light: #88a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87cb",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 211.628,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.12177,
    "h": 252.6
  },
  "luminance": 0.23096
}

Semantic roles & 50–950 ramp

primary
#4A87CB
secondary
#D4BA9D
accent
#9849DF
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4A87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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