#5B77BB#5B77BB

#5B77BB is a mid, moderate blue. Relative luminance 0.190; OKLCH L 57.8% C 0.110 H 266.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5B77BB
RGBrgb(91, 119, 187)
HSLhsl(223, 41%, 55%)
HSVhsv(223, 51%, 73%)
CMYKcmyk(51.3%, 36.4%, 0%, 26.7%)
CIE-LABlab(50.69, 9.32, -38.93)
CIE-LCHlch(50.69, 40.03, 283.47°)
OKLaboklab(57.81% -0.0075 -0.1099)
OKLCHoklch(57.81% 0.11 266.1)
XYZxyz(19.8779, 19.0043, 49.6248)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77BB #BB9F5B
analogous
#5BA7BB #5B77BB #6F5BBB
triadic
#5B77BB #BB5B77 #77BB5B
tetradic
#5B77BB #BB5BA7 #BB9F5B #5BBB6F
square
#5B77BB #BB5BA7 #BB9F5B #5BBB6F
split-complementary
#5B77BB #BB6F5B #A7BB5B
monochromatic
#2E406E #405A99 #5B77BB #869BCD #B2BFDF

Accessibility & contrast

On white

4.37
#5B77BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5B77BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77BB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77BB#FFFFFF#000000##000000
##5B77BB1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBE
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#2F8690
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b77bb;
/* rgb */ color: rgb(91, 119, 187);
/* oklch */ color: oklch(57.8% 0.110 266.1);
Tailwind
colors: {
  custom: {
    50: '#8f9dd0',
    500: '#5b77bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b77bb;
$custom-light: #8f9dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77bb",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 222.5,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57807,
    "c": 0.11014,
    "h": 266.1
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#5B77BB
secondary
#CDC1A5
accent
#AD57D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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