#4787D3#4787D3

#4787D3 is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.6% C 0.133 H 254.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4787D3
RGBrgb(71, 135, 211)
HSLhsl(213, 61%, 55%)
HSVhsv(213, 66%, 83%)
CMYKcmyk(66.4%, 36%, 0%, 17.3%)
CIE-LABlab(55.45, 3.68, -45.14)
CIE-LCHlch(55.45, 45.29, 274.66°)
OKLaboklab(61.64% -0.0365 -0.1282)
OKLCHoklch(61.64% 0.133 254.1)
XYZxyz(23.0161, 23.3684, 64.9130)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787D3 #D39347
analogous
#47CDD3 #4787D3 #4D47D3
triadic
#4787D3 #D34787 #87D347
tetradic
#4787D3 #D347CD #D39347 #47D34D
square
#4787D3 #D347CD #D39347 #47D34D
split-complementary
#4787D3 #D34D47 #CDD347
monochromatic
#1F4C81 #2B69B2 #4787D3 #78A7DF #AAC7EB

Accessibility & contrast

On white

3.70
#4787D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#4787D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787D3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787D3#FFFFFF#000000##000000
##4787D31.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4787d3;
/* rgb */ color: rgb(71, 135, 211);
/* oklch */ color: oklch(61.6% 0.133 254.1);
Tailwind
colors: {
  custom: {
    50: '#88a9e1',
    500: '#4787d3',
    950: '#000000',
  },
}
SCSS
$custom: #4787d3;
$custom-light: #88a9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4787d3",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 212.571,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.13327,
    "h": 254.1
  },
  "luminance": 0.23371
}

Semantic roles & 50–950 ramp

primary
#4787D3
secondary
#D8BD9E
accent
#9B43E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4787D3

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

Preview Lab → · Contrast checker → · Palette generator →

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