#4786D4#4786D4

#4786D4 is a mid, vivid cyan. Relative luminance 0.231; OKLCH L 61.5% C 0.136 H 254.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4786D4
RGBrgb(71, 134, 212)
HSLhsl(213, 62%, 55%)
HSVhsv(213, 67%, 83%)
CMYKcmyk(66.5%, 36.8%, 0%, 16.9%)
CIE-LABlab(55.22, 4.62, -46.07)
CIE-LCHlch(55.22, 46.30, 275.73°)
OKLaboklab(61.48% -0.0352 -0.1309)
OKLCHoklch(61.48% 0.136 254.9)
XYZxyz(23.0030, 23.1409, 65.5290)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786D4 #D49547
analogous
#47CDD4 #4786D4 #4E47D4
triadic
#4786D4 #D44786 #86D447
tetradic
#4786D4 #D447CD #D49547 #47D44E
square
#4786D4 #D447CD #D49547 #47D44E
split-complementary
#4786D4 #D44E47 #CDD447
monochromatic
#1E4B82 #2A68B4 #4786D4 #79A7E0 #AAC7EB

Accessibility & contrast

On white

3.73
#4786D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4786D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786D4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786D4#FFFFFF#000000##000000
##4786D41.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#638BD7
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#0098A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4786d4;
/* rgb */ color: rgb(71, 134, 212);
/* oklch */ color: oklch(61.5% 0.136 254.9);
Tailwind
colors: {
  custom: {
    50: '#88a8e1',
    500: '#4786d4',
    950: '#000000',
  },
}
SCSS
$custom: #4786d4;
$custom-light: #88a8e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4786d4",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 212
  },
  "hsl": {
    "h": 213.191,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.13558,
    "h": 254.9
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#4786D4
secondary
#D9BF9E
accent
#9D43E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4786D4

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

Preview Lab → · Contrast checker → · Palette generator →

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