#4787D4#4787D4

#4787D4 is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.7% C 0.135 H 254.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4787D4
RGBrgb(71, 135, 212)
HSLhsl(213, 62%, 55%)
HSVhsv(213, 67%, 83%)
CMYKcmyk(66.5%, 36.3%, 0%, 16.9%)
CIE-LABlab(55.50, 4.02, -45.62)
CIE-LCHlch(55.50, 45.80, 275.04°)
OKLaboklab(61.7% -0.0362 -0.1296)
OKLCHoklch(61.7% 0.135 254.4)
XYZxyz(23.1418, 23.4187, 65.5752)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787D4 #D49447
analogous
#47CED4 #4787D4 #4D47D4
triadic
#4787D4 #D44787 #87D447
tetradic
#4787D4 #D447CE #D49447 #47D44D
square
#4787D4 #D447CE #D49447 #47D44D
split-complementary
#4787D4 #D44D47 #CED447
monochromatic
#1E4C82 #2A69B4 #4787D4 #79A7E0 #AAC8EB

Accessibility & contrast

On white

3.69
#4787D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#4787D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787D4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787D4#FFFFFF#000000##000000
##4787D41.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD7
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#0099A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4787d4;
/* rgb */ color: rgb(71, 135, 212);
/* oklch */ color: oklch(61.7% 0.135 254.4);
Tailwind
colors: {
  custom: {
    50: '#88a9e1',
    500: '#4787d4',
    950: '#000000',
  },
}
SCSS
$custom: #4787d4;
$custom-light: #88a9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4787d4",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 212.766,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.617,
    "c": 0.13456,
    "h": 254.4
  },
  "luminance": 0.23421
}

Semantic roles & 50–950 ramp

primary
#4787D4
secondary
#D9BE9E
accent
#9B43E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4787D4

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

Preview Lab → · Contrast checker → · Palette generator →

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