#4786D7#4786D7

#4786D7 is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.7% C 0.139 H 255.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4786D7
RGBrgb(71, 134, 215)
HSLhsl(214, 64%, 56%)
HSVhsv(214, 67%, 84%)
CMYKcmyk(67%, 37.7%, 0%, 15.7%)
CIE-LABlab(55.37, 5.66, -47.51)
CIE-LCHlch(55.37, 47.85, 276.80°)
OKLaboklab(61.65% -0.0345 -0.1351)
OKLCHoklch(61.65% 0.139 255.7)
XYZxyz(23.3849, 23.2937, 67.5405)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4786D7 #D79847
analogous
#47CED7 #4786D7 #5047D7
triadic
#4786D7 #D74786 #86D747
tetradic
#4786D7 #D747CE #D79847 #47D750
square
#4786D7 #D747CE #D79847 #47D750
split-complementary
#4786D7 #D75047 #CED747
monochromatic
#1D4B86 #2867B9 #4786D7 #79A7E2 #ACC8ED

Accessibility & contrast

On white

3.71
#4786D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4786D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4786D7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4786D7#FFFFFF#000000##000000
##4786D71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#628CDA
Deuteranopia (green-blind)
#4D7ED5
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4786d7;
/* rgb */ color: rgb(71, 134, 215);
/* oklch */ color: oklch(61.7% 0.139 255.7);
Tailwind
colors: {
  custom: {
    50: '#89a8e4',
    500: '#4786d7',
    950: '#000000',
  },
}
SCSS
$custom: #4786d7;
$custom-light: #89a8e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4786d7",
  "rgb": {
    "r": 71,
    "g": 134,
    "b": 215
  },
  "hsl": {
    "h": 213.75,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.13948,
    "h": 255.7
  },
  "luminance": 0.23296
}

Semantic roles & 50–950 ramp

primary
#4786D7
secondary
#DBC19F
accent
#9E41E7
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4786D7

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

Preview Lab → · Contrast checker → · Palette generator →

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