#5A76D4#5A76D4

#5A76D4 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.0% C 0.147 H 269.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5A76D4
RGBrgb(90, 118, 212)
HSLhsl(226, 59%, 59%)
HSVhsv(226, 58%, 83%)
CMYKcmyk(57.5%, 44.3%, 0%, 16.9%)
CIE-LABlab(51.70, 17.82, -51.60)
CIE-LCHlch(51.70, 54.59, 289.05°)
OKLaboklab(59.01% -0.0024 -0.147)
OKLCHoklch(59.01% 0.147 269.1)
XYZxyz(22.5746, 19.8822, 64.9226)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76D4 #D4B85A
analogous
#5AB3D4 #5A76D4 #7B5AD4
triadic
#5A76D4 #D45A76 #76D45A
tetradic
#5A76D4 #D45AB3 #D4B85A #5AD47B
square
#5A76D4 #D45AB3 #D4B85A #5AD47B
split-complementary
#5A76D4 #D47B5A #B3D45A
monochromatic
#253D8E #3252BF #5A76D4 #8B9EE1 #BBC7ED

Accessibility & contrast

On white

4.22
#5A76D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5A76D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76D4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76D4#FFFFFF#000000##000000
##5A76D41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D8
Deuteranopia (green-blind)
#3B76D2
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a76d4;
/* rgb */ color: rgb(90, 118, 212);
/* oklch */ color: oklch(59.0% 0.147 269.1);
Tailwind
colors: {
  custom: {
    50: '#929de2',
    500: '#5a76d4',
    950: '#000000',
  },
}
SCSS
$custom: #5a76d4;
$custom-light: #929de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76d4",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 212
  },
  "hsl": {
    "h": 226.23,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59007,
    "c": 0.14703,
    "h": 269.1
  },
  "luminance": 0.19884
}

Semantic roles & 50–950 ramp

primary
#5A76D4
secondary
#DDD2AD
accent
#BE46E2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5A76D4

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

Preview Lab → · Contrast checker → · Palette generator →

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