#5A76DC#5A76DC

#5A76DC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.5% C 0.158 H 269.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5A76DC
RGBrgb(90, 118, 220)
HSLhsl(227, 65%, 61%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(59.1%, 46.4%, 0%, 13.7%)
CIE-LABlab(52.17, 20.47, -55.38)
CIE-LCHlch(52.17, 59.04, 290.28°)
OKLaboklab(59.51% -0.0012 -0.1581)
OKLCHoklch(59.51% 0.158 269.6)
XYZxyz(23.6088, 20.2959, 70.3697)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76DC #DCC05A
analogous
#5AB7DC #5A76DC #7F5ADC
triadic
#5A76DC #DC5A76 #76DC5A
tetradic
#5A76DC #DC5AB7 #DCC05A #5ADC7F
square
#5A76DC #DC5AB7 #DCC05A #5ADC7F
split-complementary
#5A76DC #DC7F5A #B7DC5A
monochromatic
#213B9B #2C4ECD #5A76DC #8CA0E7 #BFCAF1

Accessibility & contrast

On white

4.15
#5A76DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5A76DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76DC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76DC#FFFFFF#000000##000000
##5A76DC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E0
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a76dc;
/* rgb */ color: rgb(90, 118, 220);
/* oklch */ color: oklch(59.5% 0.158 269.6);
Tailwind
colors: {
  custom: {
    50: '#939de7',
    500: '#5a76dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a76dc;
$custom-light: #939de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76dc",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 227.077,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.15811,
    "h": 269.6
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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