#5A77CC#5A77CC

#5A77CC is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.135 H 267.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5A77CC
RGBrgb(90, 119, 204)
HSLhsl(225, 53%, 58%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(55.9%, 41.7%, 0%, 20%)
CIE-LABlab(51.53, 14.58, -47.34)
CIE-LCHlch(51.53, 49.54, 287.11°)
OKLaboklab(58.73% -0.0049 -0.1345)
OKLCHoklch(58.73% 0.135 267.9)
XYZxyz(21.7087, 19.7253, 59.7784)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77CC #CCAF5A
analogous
#5AB0CC #5A77CC #765ACC
triadic
#5A77CC #CC5A77 #77CC5A
tetradic
#5A77CC #CC5AB0 #CCAF5A #5ACC76
square
#5A77CC #CC5AB0 #CCAF5A #5ACC76
split-complementary
#5A77CC #CC765A #B0CC5A
monochromatic
#294083 #3756B2 #5A77CC #899EDA #B7C4E9

Accessibility & contrast

On white

4.25
#5A77CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5A77CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77CC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77CC#FFFFFF#000000##000000
##5A77CC1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#128A97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a77cc;
/* rgb */ color: rgb(90, 119, 204);
/* oklch */ color: oklch(58.7% 0.135 267.9);
Tailwind
colors: {
  custom: {
    50: '#919ddc',
    500: '#5a77cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a77cc;
$custom-light: #919ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77cc",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 224.737,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.13459,
    "h": 267.9
  },
  "luminance": 0.19727
}

Semantic roles & 50–950 ramp

primary
#5A77CC
secondary
#D8CCAA
accent
#B74CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A77CC

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

Preview Lab → · Contrast checker → · Palette generator →

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