#5777DC#5777DC

#5777DC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.5% C 0.158 H 268.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5777DC
RGBrgb(87, 119, 220)
HSLhsl(226, 66%, 60%)
HSVhsv(226, 60%, 86%)
CMYKcmyk(60.5%, 45.9%, 0%, 13.7%)
CIE-LABlab(52.27, 19.29, -55.23)
CIE-LCHlch(52.27, 58.50, 289.25°)
OKLaboklab(59.55% -0.0051 -0.1577)
OKLCHoklch(59.55% 0.158 268.1)
XYZxyz(23.4412, 20.3852, 70.3957)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5777DC #DCBC57
analogous
#57B9DC #5777DC #7A57DC
triadic
#5777DC #DC5777 #77DC57
tetradic
#5777DC #DC57B9 #DCBC57 #57DC7A
square
#5777DC #DC57B9 #DCBC57 #57DC7A
split-complementary
#5777DC #DC7A57 #B9DC57
monochromatic
#203D99 #2A51CB #5777DC #8AA0E7 #BCC9F1

Accessibility & contrast

On white

4.14
#5777DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5777DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5777DC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5777DC#FFFFFF#000000##000000
##5777DC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5777dc;
/* rgb */ color: rgb(87, 119, 220);
/* oklch */ color: oklch(59.5% 0.158 268.1);
Tailwind
colors: {
  custom: {
    50: '#929de7',
    500: '#5777dc',
    950: '#000000',
  },
}
SCSS
$custom: #5777dc;
$custom-light: #929de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5777dc",
  "rgb": {
    "r": 87,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 225.564,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.1578,
    "h": 268.1
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#5777DC
secondary
#E1D5AE
accent
#A218CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5777DC

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

Preview Lab → · Contrast checker → · Palette generator →

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