#5778CD#5778CD

#5778CD is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.136 H 266.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5778CD
RGBrgb(87, 120, 205)
HSLhsl(223, 54%, 57%)
HSVhsv(223, 58%, 80%)
CMYKcmyk(57.6%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.68, 13.67, -47.67)
CIE-LCHlch(51.68, 49.59, 286.01°)
OKLaboklab(58.82% -0.0087 -0.1355)
OKLCHoklch(58.82% 0.136 266.3)
XYZxyz(21.6627, 19.8652, 60.4386)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5778CD #CDAC57
analogous
#57B3CD #5778CD #7157CD
triadic
#5778CD #CD5778 #78CD57
tetradic
#5778CD #CD57B3 #CDAC57 #57CD71
square
#5778CD #CD57B3 #CDAC57 #57CD71
split-complementary
#5778CD #CD7157 #B3CD57
monochromatic
#274183 #3558B2 #5778CD #869EDB #B5C4E9

Accessibility & contrast

On white

4.22
#5778CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5778CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5778CD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5778CD#FFFFFF#000000##000000
##5778CD1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5778cd;
/* rgb */ color: rgb(87, 120, 205);
/* oklch */ color: oklch(58.8% 0.136 266.3);
Tailwind
colors: {
  custom: {
    50: '#8f9edd',
    500: '#5778cd',
    950: '#000000',
  },
}
SCSS
$custom: #5778cd;
$custom-light: #8f9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5778cd",
  "rgb": {
    "r": 87,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 223.22,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.13579,
    "h": 266.3
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#5778CD
secondary
#D8CAA8
accent
#B44ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5778CD

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

Preview Lab → · Contrast checker → · Palette generator →

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