#5B77CD#5B77CD

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

Color values

HEX#5B77CD
RGBrgb(91, 119, 205)
HSLhsl(225, 53%, 58%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(55.6%, 42%, 0%, 19.6%)
CIE-LABlab(51.64, 15.11, -47.73)
CIE-LCHlch(51.64, 50.07, 287.57°)
OKLaboklab(58.84% -0.0037 -0.1356)
OKLCHoklch(58.84% 0.136 268.4)
XYZxyz(21.9270, 19.8239, 60.4167)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77CD #CDB15B
analogous
#5BB0CD #5B77CD #785BCD
triadic
#5B77CD #CD5B77 #77CD5B
tetradic
#5B77CD #CD5BB0 #CDB15B #5BCD78
square
#5B77CD #CD5BB0 #CDB15B #5BCD78
split-complementary
#5B77CD #CD785B #B0CD5B
monochromatic
#293F85 #3756B4 #5B77CD #8A9EDB #B9C5EA

Accessibility & contrast

On white

4.23
#5B77CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5B77CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77CD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77CD#FFFFFF#000000##000000
##5B77CD1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#168A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b77cd;
/* rgb */ color: rgb(91, 119, 205);
/* oklch */ color: oklch(58.8% 0.136 268.4);
Tailwind
colors: {
  custom: {
    50: '#919ddd',
    500: '#5b77cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b77cd;
$custom-light: #919ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77cd",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 225.263,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.13567,
    "h": 268.4
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#5B77CD
secondary
#D9CDAB
accent
#B94BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5B77CD

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

Preview Lab → · Contrast checker → · Palette generator →

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