#5B77F5#5B77F5

#5B77F5 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.190 H 270.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5B77F5
RGBrgb(91, 119, 245)
HSLhsl(229, 89%, 66%)
HSVhsv(229, 63%, 96%)
CMYKcmyk(62.9%, 51.4%, 0%, 3.9%)
CIE-LABlab(54.04, 28.37, -66.37)
CIE-LCHlch(54.04, 72.18, 293.14°)
OKLaboklab(61.44% 0.0015 -0.1904)
OKLCHoklch(61.44% 0.19 270.4)
XYZxyz(27.3871, 22.0080, 89.1732)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77F5 #F5D95B
analogous
#5BC4F5 #5B77F5 #8C5BF5
triadic
#5B77F5 #F55B77 #77F55B
tetradic
#5B77F5 #F55BC4 #F5D95B #5BF58C
square
#5B77F5 #F55BC4 #F5D95B #5BF58C
split-complementary
#5B77F5 #F58C5B #C4F55B
monochromatic
#0C2FC9 #2147F1 #5B77F5 #95A7F9 #CED7FC

Accessibility & contrast

On white

3.89
#5B77F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5B77F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77F5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77F5#FFFFFF#000000##000000
##5B77F51.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88F9
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#0094AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b77f5;
/* rgb */ color: rgb(91, 119, 245);
/* oklch */ color: oklch(61.4% 0.190 270.4);
Tailwind
colors: {
  custom: {
    50: '#989df9',
    500: '#5b77f5',
    950: '#000000',
  },
}
SCSS
$custom: #5b77f5;
$custom-light: #989df9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77f5",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 245
  },
  "hsl": {
    "h": 229.091,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.1904,
    "h": 270.4
  },
  "luminance": 0.2201
}

Semantic roles & 50–950 ramp

primary
#5B77F5
secondary
#EFE6BC
accent
#BC00E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B77F5

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

Preview Lab → · Contrast checker → · Palette generator →

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