#5B77DC#5B77DC

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

Color values

HEX#5B77DC
RGBrgb(91, 119, 220)
HSLhsl(227, 65%, 61%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(58.6%, 45.9%, 0%, 13.7%)
CIE-LABlab(52.49, 20.04, -54.87)
CIE-LCHlch(52.49, 58.41, 290.07°)
OKLaboklab(59.77% -0.0012 -0.1566)
OKLCHoklch(59.77% 0.157 269.5)
XYZxyz(23.8252, 20.5832, 70.4137)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77DC #DCC05B
analogous
#5BB7DC #5B77DC #7F5BDC
triadic
#5B77DC #DC5B77 #77DC5B
tetradic
#5B77DC #DC5BB7 #DCC05B #5BDC7F
square
#5B77DC #DC5BB7 #DCC05B #5BDC7F
split-complementary
#5B77DC #DC7F5B #B7DC5B
monochromatic
#213C9B #2C4FCE #5B77DC #8DA1E7 #C0CBF2

Accessibility & contrast

On white

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

On black

5.12
#5B77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77DC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77DC#FFFFFF#000000##000000
##5B77DC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#3478DA
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b77dc;
/* rgb */ color: rgb(91, 119, 220);
/* oklch */ color: oklch(59.8% 0.157 269.5);
Tailwind
colors: {
  custom: {
    50: '#949de7',
    500: '#5b77dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b77dc;
$custom-light: #949de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77dc",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 226.977,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59773,
    "c": 0.15656,
    "h": 269.5
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#5B77DC
secondary
#E2D7B1
accent
#A619CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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