#5B77EB#5B77EB

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

Color values

HEX#5B77EB
RGBrgb(91, 119, 235)
HSLhsl(228, 78%, 64%)
HSVhsv(228, 61%, 92%)
CMYKcmyk(61.3%, 49.4%, 0%, 7.8%)
CIE-LABlab(53.40, 25.03, -61.83)
CIE-LCHlch(53.40, 66.70, 292.04°)
OKLaboklab(60.76% 0.0006 -0.177)
OKLCHoklch(60.76% 0.177 270.2)
XYZxyz(25.9016, 21.4138, 81.3495)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B77EB #EBCF5B
analogous
#5BBFEB #5B77EB #875BEB
triadic
#5B77EB #EB5B77 #77EB5B
tetradic
#5B77EB #EB5BBF #EBCF5B #5BEB87
square
#5B77EB #EB5BBF #EBCF5B #5BEB87
split-complementary
#5B77EB #EB875B #BFEB5B
monochromatic
#1635B5 #244AE4 #5B77EB #92A4F2 #C8D1F8

Accessibility & contrast

On white

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

On black

5.28
#5B77EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B77EB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B77EB#FFFFFF#000000##000000
##5B77EB1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#1679E9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b77eb;
/* rgb */ color: rgb(91, 119, 235);
/* oklch */ color: oklch(60.8% 0.177 270.2);
Tailwind
colors: {
  custom: {
    50: '#969df2',
    500: '#5b77eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b77eb;
$custom-light: #969df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b77eb",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 228.333,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60757,
    "c": 0.17702,
    "h": 270.2
  },
  "luminance": 0.21416
}

Semantic roles & 50–950 ramp

primary
#5B77EB
secondary
#EAE0B8
accent
#B20BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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