#5B77CC#5B77CC

#5B77CC is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.134 H 268.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5B77CC
RGBrgb(91, 119, 204)
HSLhsl(225, 53%, 58%)
HSVhsv(225, 55%, 80%)
CMYKcmyk(55.4%, 41.7%, 0%, 20%)
CIE-LABlab(51.58, 14.79, -47.25)
CIE-LCHlch(51.58, 49.51, 287.38°)
OKLaboklab(58.79% -0.0039 -0.1342)
OKLCHoklch(58.79% 0.134 268.3)
XYZxyz(21.8067, 19.7758, 59.7830)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77CC #CCB05B
analogous
#5BAFCC #5B77CC #785BCC
triadic
#5B77CC #CC5B77 #77CC5B
tetradic
#5B77CC #CC5BAF #CCB05B #5BCC78
square
#5B77CC #CC5BAF #CCB05B #5BCC78
split-complementary
#5B77CC #CC785B #AFCC5B
monochromatic
#293F84 #3756B2 #5B77CC #8A9EDB #B8C4E9

Accessibility & contrast

On white

4.24
#5B77CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5B77CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77CC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77CC#FFFFFF#000000##000000
##5B77CC1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#188A97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b77cc;
/* rgb */ color: rgb(91, 119, 204);
/* oklch */ color: oklch(58.8% 0.134 268.3);
Tailwind
colors: {
  custom: {
    50: '#919ddc',
    500: '#5b77cc',
    950: '#000000',
  },
}
SCSS
$custom: #5b77cc;
$custom-light: #919ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77cc",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 225.133,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58785,
    "c": 0.13426,
    "h": 268.3
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#5B77CC
secondary
#D8CDAB
accent
#B84CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B77CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5B77CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva