#5A77CE#5A77CE

#5A77CE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.137 H 268.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5A77CE
RGBrgb(90, 119, 206)
HSLhsl(225, 54%, 58%)
HSVhsv(225, 56%, 81%)
CMYKcmyk(56.3%, 42.2%, 0%, 19.2%)
CIE-LABlab(51.64, 15.23, -48.31)
CIE-LCHlch(51.64, 50.65, 287.50°)
OKLaboklab(58.85% -0.0045 -0.1373)
OKLCHoklch(58.85% 0.137 268.1)
XYZxyz(21.9501, 19.8219, 61.0499)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77CE #CEB15A
analogous
#5AB1CE #5A77CE #775ACE
triadic
#5A77CE #CE5A77 #77CE5A
tetradic
#5A77CE #CE5AB1 #CEB15A #5ACE77
square
#5A77CE #CE5AB1 #CEB15A #5ACE77
split-complementary
#5A77CE #CE775A #B1CE5A
monochromatic
#283F86 #3656B5 #5A77CE #899EDC #B8C5EA

Accessibility & contrast

On white

4.23
#5A77CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5A77CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77CE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77CE#FFFFFF#000000##000000
##5A77CE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D1
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#0D8A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a77ce;
/* rgb */ color: rgb(90, 119, 206);
/* oklch */ color: oklch(58.8% 0.137 268.1);
Tailwind
colors: {
  custom: {
    50: '#919ddd',
    500: '#5a77ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a77ce;
$custom-light: #919ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77ce",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 225,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58845,
    "c": 0.1374,
    "h": 268.1
  },
  "luminance": 0.19824
}

Semantic roles & 50–950 ramp

primary
#5A77CE
secondary
#D9CDAB
accent
#B94ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A77CE

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

Preview Lab → · Contrast checker → · Palette generator →

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