#4787CB#4787CB

#4787CB is a mid, vivid cyan. Relative luminance 0.230; OKLCH L 61.2% C 0.123 H 251.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4787CB
RGBrgb(71, 135, 203)
HSLhsl(211, 56%, 54%)
HSVhsv(211, 65%, 80%)
CMYKcmyk(65%, 33.5%, 0%, 20.4%)
CIE-LABlab(55.05, 0.93, -41.25)
CIE-LCHlch(55.05, 41.26, 271.29°)
OKLaboklab(61.2% -0.0386 -0.1168)
OKLCHoklch(61.2% 0.123 251.7)
XYZxyz(22.0380, 22.9771, 59.7620)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787CB #CB8B47
analogous
#47C9CB #4787CB #4947CB
triadic
#4787CB #CB4787 #87CB47
tetradic
#4787CB #CB47C9 #CB8B47 #47CB49
square
#4787CB #CB47C9 #CB8B47 #47CB49
split-complementary
#4787CB #CB4947 #C9CB47
monochromatic
#214B76 #2F69A6 #4787CB #77A6D8 #A6C5E6

Accessibility & contrast

On white

3.75
#4787CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#4787CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787CB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787CB#FFFFFF#000000##000000
##4787CB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCE
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4787cb;
/* rgb */ color: rgb(71, 135, 203);
/* oklch */ color: oklch(61.2% 0.123 251.7);
Tailwind
colors: {
  custom: {
    50: '#87a9db',
    500: '#4787cb',
    950: '#000000',
  },
}
SCSS
$custom: #4787cb;
$custom-light: #87a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#4787cb",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 210.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.12304,
    "h": 251.7
  },
  "luminance": 0.22979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4787CB

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

Preview Lab → · Contrast checker → · Palette generator →

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