#4778CC#4778CC

#4778CC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.140 H 260.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4778CC
RGBrgb(71, 120, 204)
HSLhsl(218, 57%, 54%)
HSVhsv(218, 65%, 80%)
CMYKcmyk(65.2%, 41.2%, 0%, 20%)
CIE-LABlab(50.84, 10.33, -48.49)
CIE-LCHlch(50.84, 49.58, 282.03°)
OKLaboklab(57.94% -0.0232 -0.1382)
OKLCHoklch(57.94% 0.14 260.5)
XYZxyz(20.2102, 19.1302, 59.7425)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4778CC #CC9B47
analogous
#47BBCC #4778CC #5947CC
triadic
#4778CC #CC4778 #78CC47
tetradic
#4778CC #CC47BB #CC9B47 #47CC59
square
#4778CC #CC47BB #CC9B47 #47CC59
split-complementary
#4778CC #CC5947 #BBCC47
monochromatic
#214177 #2E5BA7 #4778CC #779BD9 #A7BEE7

Accessibility & contrast

On white

4.35
#4778CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4778CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4778CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4778CC#FFFFFF#000000##000000
##4778CC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4778cc;
/* rgb */ color: rgb(71, 120, 204);
/* oklch */ color: oklch(57.9% 0.140 260.5);
Tailwind
colors: {
  custom: {
    50: '#879edc',
    500: '#4778cc',
    950: '#000000',
  },
}
SCSS
$custom: #4778cc;
$custom-light: #879edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4778cc",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 217.895,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57937,
    "c": 0.14014,
    "h": 260.5
  },
  "luminance": 0.19132
}

Semantic roles & 50–950 ramp

primary
#4778CC
secondary
#D4BF9B
accent
#A848E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4778CC

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

Preview Lab → · Contrast checker → · Palette generator →

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