#5B77EF#5B77EF

#5B77EF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.182 H 270.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5B77EF
RGBrgb(91, 119, 239)
HSLhsl(229, 82%, 65%)
HSVhsv(229, 62%, 94%)
CMYKcmyk(61.9%, 50.2%, 0%, 6.3%)
CIE-LABlab(53.65, 26.37, -63.65)
CIE-LCHlch(53.65, 68.90, 292.50°)
OKLaboklab(61.03% 0.001 -0.1824)
OKLCHoklch(61.03% 0.182 270.3)
XYZxyz(26.4860, 21.6475, 84.4272)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77EF #EFD35B
analogous
#5BC1EF #5B77EF #895BEF
triadic
#5B77EF #EF5B77 #77EF5B
tetradic
#5B77EF #EF5BC1 #EFD35B #5BEF89
square
#5B77EF #EF5BC1 #EFD35B #5BEF89
split-complementary
#5B77EF #EF895B #C1EF5B
monochromatic
#1233BD #2349EA #5B77EF #93A5F4 #CBD3FA

Accessibility & contrast

On white

3.94
#5B77EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5B77EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77EF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77EF#FFFFFF#000000##000000
##5B77EF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#017AED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b77ef;
/* rgb */ color: rgb(91, 119, 239);
/* oklch */ color: oklch(61.0% 0.182 270.3);
Tailwind
colors: {
  custom: {
    50: '#979df5',
    500: '#5b77ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b77ef;
$custom-light: #979df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77ef",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 228.649,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61028,
    "c": 0.1824,
    "h": 270.3
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#5B77EF
secondary
#ECE3BA
accent
#B607DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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