#5B77E7#5B77E7

#5B77E7 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.172 H 270.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5B77E7
RGBrgb(91, 119, 231)
HSLhsl(228, 74%, 63%)
HSVhsv(228, 61%, 91%)
CMYKcmyk(60.6%, 48.5%, 0%, 9.4%)
CIE-LABlab(53.15, 23.70, -59.99)
CIE-LCHlch(53.15, 64.50, 291.56°)
OKLaboklab(60.49% 0.0001 -0.1716)
OKLCHoklch(60.49% 0.172 270.1)
XYZxyz(25.3302, 21.1852, 78.3401)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77E7 #E7CB5B
analogous
#5BBDE7 #5B77E7 #855BE7
triadic
#5B77E7 #E75B77 #77E75B
tetradic
#5B77E7 #E75BBD #E7CB5B #5BE785
square
#5B77E7 #E75BBD #E7CB5B #5BE785
split-complementary
#5B77E7 #E7855B #BDE75B
monochromatic
#1937AE #264BDF #5B77E7 #90A3EF #C6D0F7

Accessibility & contrast

On white

4.01
#5B77E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5B77E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77E7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77E7#FFFFFF#000000##000000
##5B77E71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EB
Deuteranopia (green-blind)
#2179E5
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b77e7;
/* rgb */ color: rgb(91, 119, 231);
/* oklch */ color: oklch(60.5% 0.172 270.1);
Tailwind
colors: {
  custom: {
    50: '#959def',
    500: '#5b77e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b77e7;
$custom-light: #959def;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77e7",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 228,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6049,
    "c": 0.17161,
    "h": 270.1
  },
  "luminance": 0.21187
}

Semantic roles & 50–950 ramp

primary
#5B77E7
secondary
#E8DEB6
accent
#AF0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5B77E7

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

Preview Lab → · Contrast checker → · Palette generator →

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