#4787BB#4787BB

#4787BB is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.4% C 0.103 H 245.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4787BB
RGBrgb(71, 135, 187)
HSLhsl(207, 46%, 51%)
HSVhsv(207, 62%, 73%)
CMYKcmyk(62%, 27.8%, 0%, 26.7%)
CIE-LABlab(54.29, -4.47, -33.34)
CIE-LCHlch(54.29, 33.64, 262.36°)
OKLaboklab(60.36% -0.0433 -0.0938)
OKLCHoklch(60.36% 0.103 245.2)
XYZxyz(20.2288, 22.2535, 50.2334)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787BB #BB7B47
analogous
#47BBB5 #4787BB #474DBB
triadic
#4787BB #BB4787 #87BB47
tetradic
#4787BB #B547BB #BB7B47 #4DBB47
square
#4787BB #B547BB #BB7B47 #4DBB47
split-complementary
#4787BB #BB474D #BBB547
monochromatic
#254763 #356790 #4787BB #74A4CC #A0C1DC

Accessibility & contrast

On white

3.85
#4787BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4787BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787BB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787BB#FFFFFF#000000##000000
##4787BB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BD
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4787bb;
/* rgb */ color: rgb(71, 135, 187);
/* oklch */ color: oklch(60.4% 0.103 245.2);
Tailwind
colors: {
  custom: {
    50: '#85a9cf',
    500: '#4787bb',
    950: '#000000',
  },
}
SCSS
$custom: #4787bb;
$custom-light: #85a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4787bb",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 206.897,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.10336,
    "h": 245.2
  },
  "luminance": 0.22255
}

Semantic roles & 50–950 ramp

primary
#4787BB
secondary
#C9AC95
accent
#8D52D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4787BB

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

Preview Lab → · Contrast checker → · Palette generator →

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