#5A76CE#5A76CE

#5A76CE is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.6% C 0.139 H 268.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5A76CE
RGBrgb(90, 118, 206)
HSLhsl(226, 54%, 58%)
HSVhsv(226, 56%, 81%)
CMYKcmyk(56.3%, 42.7%, 0%, 19.2%)
CIE-LABlab(51.36, 15.84, -48.74)
CIE-LCHlch(51.36, 51.25, 288.01°)
OKLaboklab(58.64% -0.0034 -0.1386)
OKLCHoklch(58.64% 0.139 268.6)
XYZxyz(21.8317, 19.5851, 61.0104)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76CE #CEB25A
analogous
#5AB0CE #5A76CE #785ACE
triadic
#5A76CE #CE5A76 #76CE5A
tetradic
#5A76CE #CE5AB0 #CEB25A #5ACE78
square
#5A76CE #CE5AB0 #CEB25A #5ACE78
split-complementary
#5A76CE #CE785A #B0CE5A
monochromatic
#283E86 #3654B5 #5A76CE #899DDC #B8C4EA

Accessibility & contrast

On white

4.27
#5A76CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5A76CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76CE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76CE#FFFFFF#000000##000000
##5A76CE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#0D8998
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5a76ce;
/* rgb */ color: rgb(90, 118, 206);
/* oklch */ color: oklch(58.6% 0.139 268.6);
Tailwind
colors: {
  custom: {
    50: '#919ddd',
    500: '#5a76ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a76ce;
$custom-light: #919ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76ce",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 206
  },
  "hsl": {
    "h": 225.517,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58638,
    "c": 0.13864,
    "h": 268.6
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#5A76CE
secondary
#D9CEAB
accent
#BA4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A76CE

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

Preview Lab → · Contrast checker → · Palette generator →

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