#5778DC#5778DC

#5778DC is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.157 H 267.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5778DC
RGBrgb(87, 120, 220)
HSLhsl(225, 66%, 60%)
HSVhsv(225, 60%, 86%)
CMYKcmyk(60.5%, 45.5%, 0%, 13.7%)
CIE-LABlab(52.54, 18.68, -54.81)
CIE-LCHlch(52.54, 57.90, 288.82°)
OKLaboklab(59.75% -0.0061 -0.1564)
OKLCHoklch(59.75% 0.157 267.7)
XYZxyz(23.5608, 20.6245, 70.4356)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5778DC #DCBB57
analogous
#57BADC #5778DC #7957DC
triadic
#5778DC #DC5778 #78DC57
tetradic
#5778DC #DC57BA #DCBB57 #57DC79
square
#5778DC #DC57BA #DCBB57 #57DC79
split-complementary
#5778DC #DC7957 #BADC57
monochromatic
#203E99 #2A52CB #5778DC #8AA1E7 #BCC9F1

Accessibility & contrast

On white

4.10
#5778DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5778DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5778DC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5778DC#FFFFFF#000000##000000
##5778DC1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E0
Deuteranopia (green-blind)
#3378DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5778dc;
/* rgb */ color: rgb(87, 120, 220);
/* oklch */ color: oklch(59.8% 0.157 267.7);
Tailwind
colors: {
  custom: {
    50: '#919ee7',
    500: '#5778dc',
    950: '#000000',
  },
}
SCSS
$custom: #5778dc;
$custom-light: #919ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5778dc",
  "rgb": {
    "r": 87,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 225.113,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.15657,
    "h": 267.7
  },
  "luminance": 0.20626
}

Semantic roles & 50–950 ramp

primary
#5778DC
secondary
#E1D4AE
accent
#A018CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5778DC

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

Preview Lab → · Contrast checker → · Palette generator →

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