#4786D5#4786D5

#4786D5 is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.5% C 0.137 H 255.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4786D5
RGBrgb(71, 134, 213)
HSLhsl(213, 63%, 56%)
HSVhsv(213, 67%, 84%)
CMYKcmyk(66.7%, 37.1%, 0%, 16.5%)
CIE-LABlab(55.27, 4.97, -46.55)
CIE-LCHlch(55.27, 46.81, 276.09°)
OKLaboklab(61.54% -0.035 -0.1323)
OKLCHoklch(61.54% 0.137 255.2)
XYZxyz(23.1295, 23.1915, 66.1954)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786D5 #D59647
analogous
#47CDD5 #4786D5 #4F47D5
triadic
#4786D5 #D54786 #86D547
tetradic
#4786D5 #D547CD #D59647 #47D54F
square
#4786D5 #D547CD #D59647 #47D54F
split-complementary
#4786D5 #D54F47 #CDD547
monochromatic
#1E4B84 #2968B5 #4786D5 #79A7E0 #ABC8EC

Accessibility & contrast

On white

3.72
#4786D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#4786D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786D5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786D5#FFFFFF#000000##000000
##4786D51.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4786d5;
/* rgb */ color: rgb(71, 134, 213);
/* oklch */ color: oklch(61.5% 0.137 255.2);
Tailwind
colors: {
  custom: {
    50: '#89a8e2',
    500: '#4786d5',
    950: '#000000',
  },
}
SCSS
$custom: #4786d5;
$custom-light: #89a8e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4786d5",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 213
  },
  "hsl": {
    "h": 213.38,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.13688,
    "h": 255.2
  },
  "luminance": 0.23194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4786D5

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

Preview Lab → · Contrast checker → · Palette generator →

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