#5A76E4#5A76E4

#5A76E4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.0% C 0.169 H 269.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5A76E4
RGBrgb(90, 118, 228)
HSLhsl(228, 72%, 62%)
HSVhsv(228, 61%, 89%)
CMYKcmyk(60.5%, 48.2%, 0%, 10.6%)
CIE-LABlab(52.65, 23.13, -59.11)
CIE-LCHlch(52.65, 63.47, 291.37°)
OKLaboklab(60.04% -0.0002 -0.1691)
OKLCHoklch(60.04% 0.169 269.9)
XYZxyz(24.6938, 20.7299, 76.0837)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76E4 #E4C85A
analogous
#5ABBE4 #5A76E4 #835AE4
triadic
#5A76E4 #E45A76 #76E45A
tetradic
#5A76E4 #E45ABB #E4C85A #5AE483
square
#5A76E4 #E45ABB #E4C85A #5AE483
split-complementary
#5A76E4 #E4835A #BBE45A
monochromatic
#1C38A8 #254ADB #5A76E4 #8FA2ED #C3CDF5

Accessibility & contrast

On white

4.08
#5A76E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5A76E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76E4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76E4#FFFFFF#000000##000000
##5A76E41.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E8
Deuteranopia (green-blind)
#2378E2
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a76e4;
/* rgb */ color: rgb(90, 118, 228);
/* oklch */ color: oklch(60.0% 0.169 269.9);
Tailwind
colors: {
  custom: {
    50: '#949ded',
    500: '#5a76e4',
    950: '#000000',
  },
}
SCSS
$custom: #5a76e4;
$custom-light: #949ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76e4",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 227.826,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.16907,
    "h": 269.9
  },
  "luminance": 0.20732
}

Semantic roles & 50–950 ramp

primary
#5A76E4
secondary
#E6DCB4
accent
#AC12D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A76E4

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

Preview Lab → · Contrast checker → · Palette generator →

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