#5B77BE#5B77BE

#5B77BE is a mid, moderate blue. Relative luminance 0.191; OKLCH L 58.0% C 0.114 H 266.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5B77BE
RGBrgb(91, 119, 190)
HSLhsl(223, 43%, 55%)
HSVhsv(223, 52%, 75%)
CMYKcmyk(52.1%, 37.4%, 0%, 25.5%)
CIE-LABlab(50.84, 10.28, -40.41)
CIE-LCHlch(50.84, 41.70, 284.27°)
OKLaboklab(57.97% -0.0068 -0.1142)
OKLCHoklch(57.97% 0.114 266.6)
XYZxyz(20.2024, 19.1341, 51.3339)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77BE #BEA25B
analogous
#5BA9BE #5B77BE #705BBE
triadic
#5B77BE #BE5B77 #77BE5B
tetradic
#5B77BE #BE5BA9 #BEA25B #5BBE70
square
#5B77BE #BE5BA9 #BEA25B #5BBE70
split-complementary
#5B77BE #BE705B #A9BE5B
monochromatic
#2D4072 #3E599D #5B77BE #879BCF #B3C0E1

Accessibility & contrast

On white

4.35
#5B77BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5B77BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77BE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77BE#FFFFFF#000000##000000
##5B77BE1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC1
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#2C8691
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5b77be;
/* rgb */ color: rgb(91, 119, 190);
/* oklch */ color: oklch(58.0% 0.114 266.6);
Tailwind
colors: {
  custom: {
    50: '#8f9dd2',
    500: '#5b77be',
    950: '#000000',
  },
}
SCSS
$custom: #5b77be;
$custom-light: #8f9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77be",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 223.03,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.11441,
    "h": 266.6
  },
  "luminance": 0.19136
}

Semantic roles & 50–950 ramp

primary
#5B77BE
secondary
#CFC3A6
accent
#AF55D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B77BE

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

Preview Lab → · Contrast checker → · Palette generator →

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