#5A76EC#5A76EC

#5A76EC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.180 H 270.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5A76EC
RGBrgb(90, 118, 236)
HSLhsl(228, 79%, 64%)
HSVhsv(228, 62%, 93%)
CMYKcmyk(61.9%, 50%, 0%, 7.5%)
CIE-LABlab(53.15, 25.80, -62.79)
CIE-LCHlch(53.15, 67.88, 292.34°)
OKLaboklab(60.57% 0.0007 -0.1799)
OKLCHoklch(60.57% 0.18 270.2)
XYZxyz(25.8301, 21.1844, 82.0684)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76EC #ECD05A
analogous
#5ABFEC #5A76EC #875AEC
triadic
#5A76EC #EC5A76 #76EC5A
tetradic
#5A76EC #EC5ABF #ECD05A #5AEC87
square
#5A76EC #EC5ABF #ECD05A #5AEC87
split-complementary
#5A76EC #EC875A #BFEC5A
monochromatic
#1534B7 #2348E6 #5A76EC #91A4F2 #C8D1F9

Accessibility & contrast

On white

4.01
#5A76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5A76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76EC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76EC#FFFFFF#000000##000000
##5A76EC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#0779EA
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a76ec;
/* rgb */ color: rgb(90, 118, 236);
/* oklch */ color: oklch(60.6% 0.180 270.2);
Tailwind
colors: {
  custom: {
    50: '#969df3',
    500: '#5a76ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a76ec;
$custom-light: #969df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76ec",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 228.493,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60574,
    "c": 0.17989,
    "h": 270.2
  },
  "luminance": 0.21187
}

Semantic roles & 50–950 ramp

primary
#5A76EC
secondary
#EBE1B7
accent
#B30ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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