#4A87CF#4A87CF

#4A87CF is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.127 H 253.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4A87CF
RGBrgb(74, 135, 207)
HSLhsl(212, 58%, 55%)
HSVhsv(212, 64%, 81%)
CMYKcmyk(64.3%, 34.8%, 0%, 18.8%)
CIE-LABlab(55.37, 2.81, -43.01)
CIE-LCHlch(55.37, 43.10, 273.74°)
OKLaboklab(61.55% -0.0353 -0.1219)
OKLCHoklch(61.55% 0.127 253.9)
XYZxyz(22.7464, 23.2866, 62.3154)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87CF #CF924A
analogous
#4ACACF #4A87CF #4F4ACF
triadic
#4A87CF #CF4A87 #87CF4A
tetradic
#4A87CF #CF4ACA #CF924A #4ACF4F
square
#4A87CF #CF4ACA #CF924A #4ACF4F
split-complementary
#4A87CF #CF4F4A #CACF4A
monochromatic
#214B7D #2E69AE #4A87CF #7AA7DC #ABC7E9

Accessibility & contrast

On white

3.71
#4A87CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4A87CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87CF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87CF#FFFFFF#000000##000000
##4A87CF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#557FCE
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4a87cf;
/* rgb */ color: rgb(74, 135, 207);
/* oklch */ color: oklch(61.5% 0.127 253.9);
Tailwind
colors: {
  custom: {
    50: '#89a9de',
    500: '#4a87cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a87cf;
$custom-light: #89a9de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87cf",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 212.481,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61545,
    "c": 0.12691,
    "h": 253.9
  },
  "luminance": 0.23289
}

Semantic roles & 50–950 ramp

primary
#4A87CF
secondary
#D6BD9F
accent
#9A46E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4A87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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