#4778DC#4778DC

#4778DC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.0% C 0.162 H 262.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4778DC
RGBrgb(71, 120, 220)
HSLhsl(220, 68%, 57%)
HSVhsv(220, 68%, 86%)
CMYKcmyk(67.7%, 45.5%, 0%, 13.7%)
CIE-LABlab(51.77, 15.96, -56.08)
CIE-LCHlch(51.77, 58.31, 285.88°)
OKLaboklab(58.95% -0.0203 -0.1605)
OKLCHoklch(58.95% 0.162 262.8)
XYZxyz(22.2287, 19.9376, 70.3731)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4778DC #DCAB47
analogous
#47C3DC #4778DC #6047DC
triadic
#4778DC #DC4778 #78DC47
tetradic
#4778DC #DC47C3 #DCAB47 #47DC60
square
#4778DC #DC47C3 #DCAB47 #47DC60
split-complementary
#4778DC #DC6047 #C3DC47
monochromatic
#1B418E #2558C1 #4778DC #7A9EE6 #AEC3F0

Accessibility & contrast

On white

4.21
#4778DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4778DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4778DC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4778DC#FFFFFF#000000##000000
##4778DC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4778dc;
/* rgb */ color: rgb(71, 120, 220);
/* oklch */ color: oklch(59.0% 0.162 262.8);
Tailwind
colors: {
  custom: {
    50: '#8a9ee7',
    500: '#4778dc',
    950: '#000000',
  },
}
SCSS
$custom: #4778dc;
$custom-light: #8a9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4778dc",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 220.268,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58952,
    "c": 0.16177,
    "h": 262.8
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#4778DC
secondary
#DECAA1
accent
#B23DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4778DC

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

Preview Lab → · Contrast checker → · Palette generator →

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