#4787BD#4787BD

#4787BD is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.5% C 0.106 H 246.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4787BD
RGBrgb(71, 135, 189)
HSLhsl(207, 47%, 51%)
HSVhsv(207, 62%, 74%)
CMYKcmyk(62.4%, 28.6%, 0%, 25.9%)
CIE-LABlab(54.39, -3.80, -34.34)
CIE-LCHlch(54.39, 34.55, 263.68°)
OKLaboklab(60.46% -0.0427 -0.0967)
OKLCHoklch(60.46% 0.106 246.2)
XYZxyz(20.4444, 22.3397, 51.3688)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787BD #BD7D47
analogous
#47BDB8 #4787BD #474CBD
triadic
#4787BD #BD4787 #87BD47
tetradic
#4787BD #B847BD #BD7D47 #4CBD47
square
#4787BD #B847BD #BD7D47 #4CBD47
split-complementary
#4787BD #BD474C #BDB847
monochromatic
#244865 #346792 #4787BD #74A4CD #A1C2DD

Accessibility & contrast

On white

3.84
#4787BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4787BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787BD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787BD#FFFFFF#000000##000000
##4787BD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89BF
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#00949A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4787bd;
/* rgb */ color: rgb(71, 135, 189);
/* oklch */ color: oklch(60.5% 0.106 246.2);
Tailwind
colors: {
  custom: {
    50: '#85a9d1',
    500: '#4787bd',
    950: '#000000',
  },
}
SCSS
$custom: #4787bd;
$custom-light: #85a9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4787bd",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 207.458,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.10574,
    "h": 246.2
  },
  "luminance": 0.22342
}

Semantic roles & 50–950 ramp

primary
#4787BD
secondary
#CAAE96
accent
#8E51D7
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4787BD

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

Preview Lab → · Contrast checker → · Palette generator →

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