#5A76CD#5A76CD

#5A76CD is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.6% C 0.137 H 268.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5A76CD
RGBrgb(90, 118, 205)
HSLhsl(225, 53%, 58%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(56.1%, 42.4%, 0%, 19.6%)
CIE-LABlab(51.31, 15.52, -48.26)
CIE-LCHlch(51.31, 50.69, 287.83°)
OKLaboklab(58.58% -0.0036 -0.1372)
OKLCHoklch(58.58% 0.137 268.5)
XYZxyz(21.7107, 19.5367, 60.3727)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76CD #CDB15A
analogous
#5AB0CD #5A76CD #775ACD
triadic
#5A76CD #CD5A76 #76CD5A
tetradic
#5A76CD #CD5AB0 #CDB15A #5ACD77
square
#5A76CD #CD5AB0 #CDB15A #5ACD77
split-complementary
#5A76CD #CD775A #B0CD5A
monochromatic
#283F84 #3655B3 #5A76CD #899DDB #B8C4E9

Accessibility & contrast

On white

4.28
#5A76CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5A76CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76CD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76CD#FFFFFF#000000##000000
##5A76CD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#108997
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a76cd;
/* rgb */ color: rgb(90, 118, 205);
/* oklch */ color: oklch(58.6% 0.137 268.5);
Tailwind
colors: {
  custom: {
    50: '#919ddd',
    500: '#5a76cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a76cd;
$custom-light: #919ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76cd",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 225.391,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58577,
    "c": 0.13724,
    "h": 268.5
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A76CD

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

Preview Lab → · Contrast checker → · Palette generator →

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