#5A76EE#5A76EE

#5A76EE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.183 H 270.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5A76EE
RGBrgb(90, 118, 238)
HSLhsl(229, 81%, 64%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(62.2%, 50.4%, 0%, 6.7%)
CIE-LABlab(53.28, 26.47, -63.70)
CIE-LCHlch(53.28, 68.98, 292.57°)
OKLaboklab(60.71% 0.0009 -0.1826)
OKLCHoklch(60.71% 0.183 270.3)
XYZxyz(26.1223, 21.3013, 83.6073)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76EE #EED25A
analogous
#5AC0EE #5A76EE #885AEE
triadic
#5A76EE #EE5A76 #76EE5A
tetradic
#5A76EE #EE5AC0 #EED25A #5AEE88
square
#5A76EE #EE5AC0 #EED25A #5AEE88
split-complementary
#5A76EE #EE885A #C0EE5A
monochromatic
#1333BA #2348E8 #5A76EE #91A4F4 #C9D2F9

Accessibility & contrast

On white

3.99
#5A76EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#5A76EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76EE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76EE#FFFFFF#000000##000000
##5A76EE1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3186F2
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0092A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a76ee;
/* rgb */ color: rgb(90, 118, 238);
/* oklch */ color: oklch(60.7% 0.183 270.3);
Tailwind
colors: {
  custom: {
    50: '#969df4',
    500: '#5a76ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a76ee;
$custom-light: #969df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76ee",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 228.649,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60711,
    "c": 0.18257,
    "h": 270.3
  },
  "luminance": 0.21304
}

Semantic roles & 50–950 ramp

primary
#5A76EE
secondary
#ECE2B8
accent
#B508DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A76EE

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

Preview Lab → · Contrast checker → · Palette generator →

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