#5A76D2#5A76D2

#5A76D2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.144 H 268.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5A76D2
RGBrgb(90, 118, 210)
HSLhsl(226, 57%, 59%)
HSVhsv(226, 57%, 82%)
CMYKcmyk(57.1%, 43.8%, 0%, 17.6%)
CIE-LABlab(51.59, 17.16, -50.65)
CIE-LCHlch(51.59, 53.48, 288.71°)
OKLaboklab(58.88% -0.0027 -0.1442)
OKLCHoklch(58.88% 0.144 268.9)
XYZxyz(22.3239, 19.7819, 63.6022)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76D2 #D2B65A
analogous
#5AB2D2 #5A76D2 #7A5AD2
triadic
#5A76D2 #D25A76 #76D25A
tetradic
#5A76D2 #D25AB2 #D2B65A #5AD27A
square
#5A76D2 #D25AB2 #D2B65A #5AD27A
split-complementary
#5A76D2 #D27A5A #B2D25A
monochromatic
#263E8C #3353BC #5A76D2 #8A9EDF #BAC6EC

Accessibility & contrast

On white

4.24
#5A76D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5A76D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76D2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76D2#FFFFFF#000000##000000
##5A76D21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D5
Deuteranopia (green-blind)
#3D76D0
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a76d2;
/* rgb */ color: rgb(90, 118, 210);
/* oklch */ color: oklch(58.9% 0.144 268.9);
Tailwind
colors: {
  custom: {
    50: '#929de0',
    500: '#5a76d2',
    950: '#000000',
  },
}
SCSS
$custom: #5a76d2;
$custom-light: #929de0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76d2",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 210
  },
  "hsl": {
    "h": 226,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58883,
    "c": 0.14425,
    "h": 268.9
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#5A76D2
secondary
#DCD1AC
accent
#BD47E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A76D2

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

Preview Lab → · Contrast checker → · Palette generator →

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