#4788CC#4788CC

#4788CC is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.123 H 251.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4788CC
RGBrgb(71, 136, 204)
HSLhsl(211, 57%, 54%)
HSVhsv(211, 65%, 80%)
CMYKcmyk(65.2%, 33.3%, 0%, 20%)
CIE-LABlab(55.39, 0.68, -41.29)
CIE-LCHlch(55.39, 41.29, 270.94°)
OKLaboklab(61.48% -0.0393 -0.1169)
OKLCHoklch(61.48% 0.123 251.4)
XYZxyz(22.2978, 23.3053, 60.4383)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4788CC #CC8B47
analogous
#47CBCC #4788CC #4947CC
triadic
#4788CC #CC4788 #88CC47
tetradic
#4788CC #CC47CB #CC8B47 #47CC49
square
#4788CC #CC47CB #CC8B47 #47CC49
split-complementary
#4788CC #CC4947 #CBCC47
monochromatic
#214B77 #2E6AA7 #4788CC #77A7D9 #A7C6E7

Accessibility & contrast

On white

3.71
#4788CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4788CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4788CC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4788CC#FFFFFF#000000##000000
##4788CC1.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)
#6A8CCF
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4788cc;
/* rgb */ color: rgb(71, 136, 204);
/* oklch */ color: oklch(61.5% 0.123 251.4);
Tailwind
colors: {
  custom: {
    50: '#87aadc',
    500: '#4788cc',
    950: '#000000',
  },
}
SCSS
$custom: #4788cc;
$custom-light: #87aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#4788cc",
  "rgb": {
    "r": 71,
    "g": 136,
    "b": 204
  },
  "hsl": {
    "h": 210.677,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.12337,
    "h": 251.4
  },
  "luminance": 0.23308
}

Semantic roles & 50–950 ramp

primary
#4788CC
secondary
#D4B89B
accent
#9648E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C1015
muted
#7D7F83

Preview Lab

Preview with #4788CC

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

Preview Lab → · Contrast checker → · Palette generator →

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