#5A77E8#5A77E8

#5A77E8 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.173 H 269.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5A77E8
RGBrgb(90, 119, 232)
HSLhsl(228, 76%, 63%)
HSVhsv(228, 61%, 91%)
CMYKcmyk(61.2%, 48.7%, 0%, 9%)
CIE-LABlab(53.16, 23.85, -60.54)
CIE-LCHlch(53.16, 65.07, 291.50°)
OKLaboklab(60.5% -0.0007 -0.1733)
OKLCHoklch(60.5% 0.173 269.8)
XYZxyz(25.3739, 21.1914, 79.0815)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77E8 #E8CB5A
analogous
#5ABEE8 #5A77E8 #845AE8
triadic
#5A77E8 #E85A77 #77E85A
tetradic
#5A77E8 #E85ABE #E8CB5A #5AE884
square
#5A77E8 #E85ABE #E8CB5A #5AE884
split-complementary
#5A77E8 #E8845A #BEE85A
monochromatic
#1837AF #244BE1 #5A77E8 #90A3EF #C5D0F7

Accessibility & contrast

On white

4.01
#5A77E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5A77E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77E8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77E8#FFFFFF#000000##000000
##5A77E81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B86EC
Deuteranopia (green-blind)
#1D79E6
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a77e8;
/* rgb */ color: rgb(90, 119, 232);
/* oklch */ color: oklch(60.5% 0.173 269.8);
Tailwind
colors: {
  custom: {
    50: '#959df0',
    500: '#5a77e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a77e8;
$custom-light: #959df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77e8",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 232
  },
  "hsl": {
    "h": 227.746,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.605,
    "c": 0.17326,
    "h": 269.8
  },
  "luminance": 0.21194
}

Semantic roles & 50–950 ramp

primary
#5A77E8
secondary
#E8DEB5
accent
#AE0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A77E8

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

Preview Lab → · Contrast checker → · Palette generator →

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