#4787AC#4787AC

#4787AC is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.6% C 0.087 H 236.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4787AC
RGBrgb(71, 135, 172)
HSLhsl(202, 42%, 48%)
HSVhsv(202, 59%, 67%)
CMYKcmyk(58.7%, 21.5%, 0%, 32.5%)
CIE-LABlab(53.65, -9.37, -25.75)
CIE-LCHlch(53.65, 27.40, 250.01°)
OKLaboklab(59.63% -0.0484 -0.072)
OKLCHoklch(59.63% 0.087 236.1)
XYZxyz(18.7061, 21.6444, 42.2137)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787AC #AC6C47
analogous
#47AC9E #4787AC #4755AC
triadic
#4787AC #AC4787 #87AC47
tetradic
#4787AC #9E47AC #AC6C47 #55AC47
square
#4787AC #9E47AC #AC6C47 #55AC47
split-complementary
#4787AC #AC4755 #AC9E47
monochromatic
#234355 #356581 #4787AC #6DA4C3 #99BFD5

Accessibility & contrast

On white

3.94
#4787AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4787AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787AC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787AC#FFFFFF#000000##000000
##4787AC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AE
Deuteranopia (green-blind)
#687CAB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4787ac;
/* rgb */ color: rgb(71, 135, 172);
/* oklch */ color: oklch(59.6% 0.087 236.1);
Tailwind
colors: {
  custom: {
    50: '#83a9c5',
    500: '#4787ac',
    950: '#000000',
  },
}
SCSS
$custom: #4787ac;
$custom-light: #83a9c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4787ac",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 201.98,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59633,
    "c": 0.08674,
    "h": 236.1
  },
  "luminance": 0.21646
}

Semantic roles & 50–950 ramp

primary
#4787AC
secondary
#C1A18E
accent
#8356D1
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #4787AC

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

Preview Lab → · Contrast checker → · Palette generator →

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