#5A77EA#5A77EA

#5A77EA is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.176 H 269.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5A77EA
RGBrgb(90, 119, 234)
HSLhsl(228, 77%, 64%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(61.5%, 49.1%, 0%, 8.2%)
CIE-LABlab(53.28, 24.52, -61.46)
CIE-LCHlch(53.28, 66.17, 291.75°)
OKLaboklab(60.63% -0.0005 -0.176)
OKLCHoklch(60.63% 0.176 269.8)
XYZxyz(25.6596, 21.3056, 80.5861)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77EA #EACD5A
analogous
#5ABFEA #5A77EA #855AEA
triadic
#5A77EA #EA5A77 #77EA5A
tetradic
#5A77EA #EA5ABF #EACD5A #5AEA85
square
#5A77EA #EA5ABF #EACD5A #5AEA85
split-complementary
#5A77EA #EA855A #BFEA5A
monochromatic
#1736B3 #244AE3 #5A77EA #90A4F1 #C7D0F8

Accessibility & contrast

On white

3.99
#5A77EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5A77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77EA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77EA#FFFFFF#000000##000000
##5A77EA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a77ea;
/* rgb */ color: rgb(90, 119, 234);
/* oklch */ color: oklch(60.6% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#959df1',
    500: '#5a77ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a77ea;
$custom-light: #959df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77ea",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 227.917,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.17596,
    "h": 269.8
  },
  "luminance": 0.21308
}

Semantic roles & 50–950 ramp

primary
#5A77EA
secondary
#E9DFB6
accent
#B00CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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