#5A77DC#5A77DC

#5A77DC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.157 H 269.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5A77DC
RGBrgb(90, 119, 220)
HSLhsl(227, 65%, 61%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(59.1%, 45.9%, 0%, 13.7%)
CIE-LABlab(52.43, 19.85, -54.96)
CIE-LCHlch(52.43, 58.44, 289.86°)
OKLaboklab(59.72% -0.0022 -0.1568)
OKLCHoklch(59.72% 0.157 269.2)
XYZxyz(23.7272, 20.5327, 70.4091)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A77DC #DCBF5A
analogous
#5AB8DC #5A77DC #7E5ADC
triadic
#5A77DC #DC5A77 #77DC5A
tetradic
#5A77DC #DC5AB8 #DCBF5A #5ADC7E
square
#5A77DC #DC5AB8 #DCBF5A #5ADC7E
split-complementary
#5A77DC #DC7E5A #B8DC5A
monochromatic
#213C9B #2C50CD #5A77DC #8CA1E7 #BFCAF1

Accessibility & contrast

On white

4.11
#5A77DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5A77DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A77DC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A77DC#FFFFFF#000000##000000
##5A77DC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#3378DA
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a77dc;
/* rgb */ color: rgb(90, 119, 220);
/* oklch */ color: oklch(59.7% 0.157 269.2);
Tailwind
colors: {
  custom: {
    50: '#939de7',
    500: '#5a77dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a77dc;
$custom-light: #939de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a77dc",
  "rgb": {
    "r": 90,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 226.615,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.15687,
    "h": 269.2
  },
  "luminance": 0.20535
}

Semantic roles & 50–950 ramp

primary
#5A77DC
secondary
#E2D7B0
accent
#A519CD
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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