#5A76E8#5A76E8

#5A76E8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.3% C 0.174 H 270.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5A76E8
RGBrgb(90, 118, 232)
HSLhsl(228, 76%, 63%)
HSVhsv(228, 61%, 91%)
CMYKcmyk(61.2%, 49.1%, 0%, 9%)
CIE-LABlab(52.90, 24.47, -60.95)
CIE-LCHlch(52.90, 65.68, 291.87°)
OKLaboklab(60.3% 0.0003 -0.1745)
OKLCHoklch(60.3% 0.174 270.1)
XYZxyz(25.2555, 20.9546, 79.0420)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76E8 #E8CC5A
analogous
#5ABDE8 #5A76E8 #855AE8
triadic
#5A76E8 #E85A76 #76E85A
tetradic
#5A76E8 #E85ABD #E8CC5A #5AE885
square
#5A76E8 #E85ABD #E8CC5A #5AE885
split-complementary
#5A76E8 #E8855A #BDE85A
monochromatic
#1836AF #2449E1 #5A76E8 #90A3EF #C5CFF7

Accessibility & contrast

On white

4.05
#5A76E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5A76E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76E8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76E8#FFFFFF#000000##000000
##5A76E81.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EC
Deuteranopia (green-blind)
#1978E6
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a76e8;
/* rgb */ color: rgb(90, 118, 232);
/* oklch */ color: oklch(60.3% 0.174 270.1);
Tailwind
colors: {
  custom: {
    50: '#959df0',
    500: '#5a76e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a76e8;
$custom-light: #959df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76e8",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 228.169,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.17449,
    "h": 270.1
  },
  "luminance": 0.20957
}

Semantic roles & 50–950 ramp

primary
#5A76E8
secondary
#E8DEB5
accent
#B00ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A76E8

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

Preview Lab → · Contrast checker → · Palette generator →

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