#4787DB#4787DB

#4787DB is a light, vivid cyan. Relative luminance 0.238; OKLCH L 62.1% C 0.144 H 256.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4787DB
RGBrgb(71, 135, 219)
HSLhsl(214, 67%, 57%)
HSVhsv(214, 68%, 86%)
CMYKcmyk(67.6%, 38.4%, 0%, 14.1%)
CIE-LABlab(55.87, 6.45, -48.97)
CIE-LCHlch(55.87, 49.40, 277.51°)
OKLaboklab(62.1% -0.0346 -0.1394)
OKLCHoklch(62.1% 0.144 256.1)
XYZxyz(24.0440, 23.7795, 70.3269)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787DB #DB9B47
analogous
#47D1DB #4787DB #5147DB
triadic
#4787DB #DB4787 #87DB47
tetradic
#4787DB #DB47D1 #DB9B47 #47DB51
square
#4787DB #DB47D1 #DB9B47 #47DB51
split-complementary
#4787DB #DB5147 #D1DB47
monochromatic
#1B4C8C #2568BF #4787DB #7AA8E5 #ADCAEF

Accessibility & contrast

On white

3.65
#4787DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#4787DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787DB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787DB#FFFFFF#000000##000000
##4787DB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDE
Deuteranopia (green-blind)
#4B80D9
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4787db;
/* rgb */ color: rgb(71, 135, 219);
/* oklch */ color: oklch(62.1% 0.144 256.1);
Tailwind
colors: {
  custom: {
    50: '#8aa9e6',
    500: '#4787db',
    950: '#000000',
  },
}
SCSS
$custom: #4787db;
$custom-light: #8aa9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4787db",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 214.054,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62104,
    "c": 0.14363,
    "h": 256.1
  },
  "luminance": 0.23782
}

Semantic roles & 50–950 ramp

primary
#4787DB
secondary
#DDC3A1
accent
#A03EEA
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4787DB

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

Preview Lab → · Contrast checker → · Palette generator →

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