#5A77EC#5A77EC

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

Color values

HEX#5A77EC
RGBrgb(90, 119, 236)
HSLhsl(228, 79%, 64%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(61.9%, 49.6%, 0%, 7.5%)
CIE-LABlab(53.41, 25.19, -62.37)
CIE-LCHlch(53.41, 67.27, 291.99°)
OKLaboklab(60.77% -0.0003 -0.1787)
OKLCHoklch(60.77% 0.179 269.9)
XYZxyz(25.9485, 21.4212, 82.1079)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77EC #ECCF5A
analogous
#5AC0EC #5A77EC #865AEC
triadic
#5A77EC #EC5A77 #77EC5A
tetradic
#5A77EC #EC5AC0 #ECCF5A #5AEC86
square
#5A77EC #EC5AC0 #ECCF5A #5AEC86
split-complementary
#5A77EC #EC865A #C0EC5A
monochromatic
#1535B7 #234AE6 #5A77EC #91A4F2 #C8D1F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A77EC#FFFFFF#000000##000000
##5A77EC1.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)
#3786F0
Deuteranopia (green-blind)
#1079EA
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5a77ec;
/* rgb */ color: rgb(90, 119, 236);
/* oklch */ color: oklch(60.8% 0.179 269.9);
Tailwind
colors: {
  custom: {
    50: '#969df3',
    500: '#5a77ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a77ec;
$custom-light: #969df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77ec",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 228.082,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.17866,
    "h": 269.9
  },
  "luminance": 0.21423
}

Semantic roles & 50–950 ramp

primary
#5A77EC
secondary
#EBE0B7
accent
#B20ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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