#5B77EA#5B77EA

#5B77EA is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.176 H 270.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5B77EA
RGBrgb(91, 119, 234)
HSLhsl(228, 77%, 64%)
HSVhsv(228, 61%, 92%)
CMYKcmyk(61.1%, 49.1%, 0%, 8.2%)
CIE-LABlab(53.34, 24.70, -61.37)
CIE-LCHlch(53.34, 66.15, 291.92°)
OKLaboklab(60.69% 0.0005 -0.1757)
OKLCHoklch(60.69% 0.176 270.2)
XYZxyz(25.7575, 21.3561, 80.5907)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77EA #EACE5B
analogous
#5BBEEA #5B77EA #865BEA
triadic
#5B77EA #EA5B77 #77EA5B
tetradic
#5B77EA #EA5BBE #EACE5B #5BEA86
square
#5B77EA #EA5BBE #EACE5B #5BEA86
split-complementary
#5B77EA #EA865B #BEEA5B
monochromatic
#1736B4 #254AE3 #5B77EA #91A4F1 #C8D1F8

Accessibility & contrast

On white

3.98
#5B77EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5B77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77EA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77EA#FFFFFF#000000##000000
##5B77EA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#1979E8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5b77ea;
/* rgb */ color: rgb(91, 119, 234);
/* oklch */ color: oklch(60.7% 0.176 270.2);
Tailwind
colors: {
  custom: {
    50: '#969df1',
    500: '#5b77ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b77ea;
$custom-light: #969df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77ea",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 228.252,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.17567,
    "h": 270.2
  },
  "luminance": 0.21358
}

Semantic roles & 50–950 ramp

primary
#5B77EA
secondary
#EAE0B7
accent
#B10CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5B77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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