#4788D5#4788D5

#4788D5 is a mid, vivid cyan. Relative luminance 0.238; OKLCH L 62.0% C 0.135 H 254.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4788D5
RGBrgb(71, 136, 213)
HSLhsl(213, 63%, 56%)
HSVhsv(213, 67%, 84%)
CMYKcmyk(66.7%, 36.2%, 0%, 16.5%)
CIE-LABlab(55.84, 3.77, -45.65)
CIE-LCHlch(55.84, 45.81, 274.72°)
OKLaboklab(61.98% -0.037 -0.1297)
OKLCHoklch(61.98% 0.135 254.1)
XYZxyz(23.4085, 23.7496, 66.2884)
Luminance0.2375 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4788D5 #D59447
analogous
#47CFD5 #4788D5 #4D47D5
triadic
#4788D5 #D54788 #88D547
tetradic
#4788D5 #D547CF #D59447 #47D54D
square
#4788D5 #D547CF #D59447 #47D54D
split-complementary
#4788D5 #D54D47 #CFD547
monochromatic
#1E4D84 #2969B5 #4788D5 #79A8E0 #ABC8EC

Accessibility & contrast

On white

3.65
#4788D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#4788D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4788D5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4788D5#FFFFFF#000000##000000
##4788D51.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#668DD8
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#009AA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4788d5;
/* rgb */ color: rgb(71, 136, 213);
/* oklch */ color: oklch(62.0% 0.135 254.1);
Tailwind
colors: {
  custom: {
    50: '#89aae2',
    500: '#4788d5',
    950: '#000000',
  },
}
SCSS
$custom: #4788d5;
$custom-light: #89aae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4788d5",
  "rgb": {
    "r": 71,
    "g": 136,
    "b": 213
  },
  "hsl": {
    "h": 212.535,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.13484,
    "h": 254.1
  },
  "luminance": 0.23752
}

Semantic roles & 50–950 ramp

primary
#4788D5
secondary
#D9BE9E
accent
#9B42E6
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #4788D5

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

Preview Lab → · Contrast checker → · Palette generator →

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