#5A77E4#5A77E4

#5A77E4 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.168 H 269.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5A77E4
RGBrgb(90, 119, 228)
HSLhsl(227, 72%, 62%)
HSVhsv(227, 61%, 89%)
CMYKcmyk(60.5%, 47.8%, 0%, 10.6%)
CIE-LABlab(52.91, 22.52, -58.69)
CIE-LCHlch(52.91, 62.86, 290.99°)
OKLaboklab(60.24% -0.0012 -0.1678)
OKLCHoklch(60.24% 0.168 269.6)
XYZxyz(24.8122, 20.9667, 76.1232)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77E4 #E4C75A
analogous
#5ABCE4 #5A77E4 #825AE4
triadic
#5A77E4 #E45A77 #77E45A
tetradic
#5A77E4 #E45ABC #E4C75A #5AE482
square
#5A77E4 #E45ABC #E4C75A #5AE482
split-complementary
#5A77E4 #E4825A #BCE45A
monochromatic
#1C39A8 #254CDB #5A77E4 #8FA2ED #C3CEF5

Accessibility & contrast

On white

4.04
#5A77E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5A77E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77E4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77E4#FFFFFF#000000##000000
##5A77E41.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#2678E2
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a77e4;
/* rgb */ color: rgb(90, 119, 228);
/* oklch */ color: oklch(60.2% 0.168 269.6);
Tailwind
colors: {
  custom: {
    50: '#949ded',
    500: '#5a77e4',
    950: '#000000',
  },
}
SCSS
$custom: #5a77e4;
$custom-light: #949ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77e4",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 228
  },
  "hsl": {
    "h": 227.391,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60235,
    "c": 0.16783,
    "h": 269.6
  },
  "luminance": 0.20969
}

Semantic roles & 50–950 ramp

primary
#5A77E4
secondary
#E6DCB4
accent
#AB12D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A77E4

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

Preview Lab → · Contrast checker → · Palette generator →

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