#5A76DD#5A76DD

#5A76DD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.6% C 0.159 H 269.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5A76DD
RGBrgb(90, 118, 221)
HSLhsl(227, 66%, 61%)
HSVhsv(227, 59%, 87%)
CMYKcmyk(59.3%, 46.6%, 0%, 13.3%)
CIE-LABlab(52.23, 20.80, -55.85)
CIE-LCHlch(52.23, 59.60, 290.42°)
OKLaboklab(59.58% -0.0011 -0.1595)
OKLCHoklch(59.58% 0.159 269.6)
XYZxyz(23.7417, 20.3491, 71.0692)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76DD #DDC15A
analogous
#5AB7DD #5A76DD #7F5ADD
triadic
#5A76DD #DD5A76 #76DD5A
tetradic
#5A76DD #DD5AB7 #DDC15A #5ADD7F
square
#5A76DD #DD5AB7 #DDC15A #5ADD7F
split-complementary
#5A76DD #DD7F5A #B7DD5A
monochromatic
#203B9C #2B4ECF #5A76DD #8DA0E7 #BFCAF2

Accessibility & contrast

On white

4.14
#5A76DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5A76DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76DD#FFFFFF#000000##000000
##5A76DD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E1
Deuteranopia (green-blind)
#2F77DB
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a76dd;
/* rgb */ color: rgb(90, 118, 221);
/* oklch */ color: oklch(59.6% 0.159 269.6);
Tailwind
colors: {
  custom: {
    50: '#939de8',
    500: '#5a76dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a76dd;
$custom-light: #939de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76dd",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 221
  },
  "hsl": {
    "h": 227.176,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59579,
    "c": 0.15949,
    "h": 269.6
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#5A76DD
secondary
#E2D8B1
accent
#A718CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A76DD

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

Preview Lab → · Contrast checker → · Palette generator →

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