#4787BE#4787BE

#4787BE is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.5% C 0.107 H 246.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4787BE
RGBrgb(71, 135, 190)
HSLhsl(208, 48%, 51%)
HSVhsv(208, 63%, 75%)
CMYKcmyk(62.6%, 28.9%, 0%, 25.5%)
CIE-LABlab(54.43, -3.47, -34.84)
CIE-LCHlch(54.43, 35.01, 264.31°)
OKLaboklab(60.51% -0.0424 -0.0982)
OKLCHoklch(60.51% 0.107 246.7)
XYZxyz(20.5533, 22.3833, 51.9425)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787BE #BE7E47
analogous
#47BEB9 #4787BE #474BBE
triadic
#4787BE #BE4787 #87BE47
tetradic
#4787BE #B947BE #BE7E47 #4BBE47
square
#4787BE #B947BE #BE7E47 #4BBE47
split-complementary
#4787BE #BE474B #BEB947
monochromatic
#244866 #346894 #4787BE #74A4CE #A1C2DE

Accessibility & contrast

On white

3.83
#4787BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4787BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787BE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787BE#FFFFFF#000000##000000
##4787BE1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4787be;
/* rgb */ color: rgb(71, 135, 190);
/* oklch */ color: oklch(60.5% 0.107 246.7);
Tailwind
colors: {
  custom: {
    50: '#85a9d2',
    500: '#4787be',
    950: '#000000',
  },
}
SCSS
$custom: #4787be;
$custom-light: #85a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4787be",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 207.731,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.10694,
    "h": 246.7
  },
  "luminance": 0.22385
}

Semantic roles & 50–950 ramp

primary
#4787BE
secondary
#CBAE96
accent
#8F50D7
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4787BE

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

Preview Lab → · Contrast checker → · Palette generator →

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