#5B77DD#5B77DD

#5B77DD is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.158 H 269.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B77DD
RGBrgb(91, 119, 221)
HSLhsl(227, 66%, 61%)
HSVhsv(227, 59%, 87%)
CMYKcmyk(58.8%, 46.2%, 0%, 13.3%)
CIE-LABlab(52.55, 20.37, -55.34)
CIE-LCHlch(52.55, 58.97, 290.21°)
OKLaboklab(59.84% -0.0011 -0.1579)
OKLCHoklch(59.84% 0.158 269.6)
XYZxyz(23.9580, 20.6363, 71.1133)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77DD #DDC15B
analogous
#5BB8DD #5B77DD #805BDD
triadic
#5B77DD #DD5B77 #77DD5B
tetradic
#5B77DD #DD5BB8 #DDC15B #5BDD80
square
#5B77DD #DD5BB8 #DDC15B #5BDD80
split-complementary
#5B77DD #DD805B #B8DD5B
monochromatic
#213B9D #2B4FD0 #5B77DD #8EA1E8 #C0CBF2

Accessibility & contrast

On white

4.10
#5B77DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5B77DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77DD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77DD#FFFFFF#000000##000000
##5B77DD1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#3278DB
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b77dd;
/* rgb */ color: rgb(91, 119, 221);
/* oklch */ color: oklch(59.8% 0.158 269.6);
Tailwind
colors: {
  custom: {
    50: '#949de8',
    500: '#5b77dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b77dd;
$custom-light: #949de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77dd",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 227.077,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59837,
    "c": 0.15794,
    "h": 269.6
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

primary
#5B77DD
secondary
#E2D8B1
accent
#A618CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B77DD

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

Preview Lab → · Contrast checker → · Palette generator →

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