#5A77EB#5A77EB

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

Color values

HEX#5A77EB
RGBrgb(90, 119, 235)
HSLhsl(228, 78%, 64%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(61.7%, 49.4%, 0%, 7.8%)
CIE-LABlab(53.34, 24.86, -61.92)
CIE-LCHlch(53.34, 66.72, 291.87°)
OKLaboklab(60.7% -0.0004 -0.1773)
OKLCHoklch(60.7% 0.177 269.9)
XYZxyz(25.8036, 21.3633, 81.3449)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77EB #EBCE5A
analogous
#5ABFEB #5A77EB #855AEB
triadic
#5A77EB #EB5A77 #77EB5A
tetradic
#5A77EB #EB5ABF #EBCE5A #5AEB85
square
#5A77EB #EB5ABF #EBCE5A #5AEB85
split-complementary
#5A77EB #EB855A #BFEB5A
monochromatic
#1636B5 #234AE4 #5A77EB #91A4F2 #C7D1F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A77EB#FFFFFF#000000##000000
##5A77EB1.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)
#3886EF
Deuteranopia (green-blind)
#1479E9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a77eb;
/* rgb */ color: rgb(90, 119, 235);
/* oklch */ color: oklch(60.7% 0.177 269.9);
Tailwind
colors: {
  custom: {
    50: '#959df2',
    500: '#5a77eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a77eb;
$custom-light: #959df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77eb",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 228,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60701,
    "c": 0.17731,
    "h": 269.9
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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