#4787CA#4787CA

#4787CA is a mid, vivid cyan. Relative luminance 0.229; OKLCH L 61.1% C 0.122 H 251.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4787CA
RGBrgb(71, 135, 202)
HSLhsl(211, 55%, 54%)
HSVhsv(211, 65%, 79%)
CMYKcmyk(64.9%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.00, 0.59, -40.76)
CIE-LCHlch(55.00, 40.77, 270.82°)
OKLaboklab(61.14% -0.0389 -0.1154)
OKLCHoklch(61.14% 0.122 251.4)
XYZxyz(21.9193, 22.9296, 59.1364)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787CA #CA8A47
analogous
#47C8CA #4787CA #4847CA
triadic
#4787CA #CA4787 #87CA47
tetradic
#4787CA #CA47C8 #CA8A47 #47CA48
square
#4787CA #CA47C8 #CA8A47 #47CA48
split-complementary
#4787CA #CA4847 #C8CA47
monochromatic
#224A75 #2F69A4 #4787CA #77A6D8 #A6C5E5

Accessibility & contrast

On white

3.76
#4787CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#4787CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787CA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787CA#FFFFFF#000000##000000
##4787CA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4787ca;
/* rgb */ color: rgb(71, 135, 202);
/* oklch */ color: oklch(61.1% 0.122 251.4);
Tailwind
colors: {
  custom: {
    50: '#87a9da',
    500: '#4787ca',
    950: '#000000',
  },
}
SCSS
$custom: #4787ca;
$custom-light: #87a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#4787ca",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 210.687,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61144,
    "c": 0.12178,
    "h": 251.4
  },
  "luminance": 0.22932
}

Semantic roles & 50–950 ramp

primary
#4787CA
secondary
#D2B79A
accent
#9649DF
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4787CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4787CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva