#5A77CD#5A77CD

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

Color values

HEX#5A77CD
RGBrgb(90, 119, 205)
HSLhsl(225, 53%, 58%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(56.1%, 42%, 0%, 19.6%)
CIE-LABlab(51.58, 14.90, -47.83)
CIE-LCHlch(51.58, 50.09, 287.31°)
OKLaboklab(58.79% -0.0047 -0.1359)
OKLCHoklch(58.79% 0.136 268)
XYZxyz(21.8290, 19.7734, 60.4121)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77CD #CDB05A
analogous
#5AB0CD #5A77CD #775ACD
triadic
#5A77CD #CD5A77 #77CD5A
tetradic
#5A77CD #CD5AB0 #CDB05A #5ACD77
square
#5A77CD #CD5AB0 #CDB05A #5ACD77
split-complementary
#5A77CD #CD775A #B0CD5A
monochromatic
#283F84 #3656B3 #5A77CD #899EDB #B8C4E9

Accessibility & contrast

On white

4.24
#5A77CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A77CD#FFFFFF#000000##000000
##5A77CD1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#108A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a77cd;
/* rgb */ color: rgb(90, 119, 205);
/* oklch */ color: oklch(58.8% 0.136 268.0);
Tailwind
colors: {
  custom: {
    50: '#919ddd',
    500: '#5a77cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a77cd;
$custom-light: #919ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77cd",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 224.87,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58785,
    "c": 0.13599,
    "h": 268
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#5A77CD
secondary
#D8CDAA
accent
#B84BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A77CD

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

Preview Lab → · Contrast checker → · Palette generator →

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