#5B77EC#5B77EC

#5B77EC is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.178 H 270.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5B77EC
RGBrgb(91, 119, 236)
HSLhsl(228, 79%, 64%)
HSVhsv(228, 61%, 93%)
CMYKcmyk(61.4%, 49.6%, 0%, 7.5%)
CIE-LABlab(53.46, 25.36, -62.28)
CIE-LCHlch(53.46, 67.25, 292.16°)
OKLaboklab(60.83% 0.0007 -0.1784)
OKLCHoklch(60.83% 0.178 270.2)
XYZxyz(26.0464, 21.4717, 82.1125)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77EC #ECD05B
analogous
#5BC0EC #5B77EC #885BEC
triadic
#5B77EC #EC5B77 #77EC5B
tetradic
#5B77EC #EC5BC0 #ECD05B #5BEC88
square
#5B77EC #EC5BC0 #ECD05B #5BEC88
split-complementary
#5B77EC #EC885B #C0EC5B
monochromatic
#1535B7 #244AE6 #5B77EC #92A4F2 #C9D2F9

Accessibility & contrast

On white

3.97
#5B77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5B77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77EC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77EC#FFFFFF#000000##000000
##5B77EC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786F0
Deuteranopia (green-blind)
#127AEA
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b77ec;
/* rgb */ color: rgb(91, 119, 236);
/* oklch */ color: oklch(60.8% 0.178 270.2);
Tailwind
colors: {
  custom: {
    50: '#969df3',
    500: '#5b77ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b77ec;
$custom-light: #969df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77ec",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 228.414,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.17837,
    "h": 270.2
  },
  "luminance": 0.21474
}

Semantic roles & 50–950 ramp

primary
#5B77EC
secondary
#EBE1B8
accent
#B30ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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