#5A76ED#5A76ED

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

Color values

HEX#5A76ED
RGBrgb(90, 118, 237)
HSLhsl(229, 80%, 64%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(62%, 50.2%, 0%, 7.1%)
CIE-LABlab(53.21, 26.14, -63.24)
CIE-LCHlch(53.21, 68.43, 292.45°)
OKLaboklab(60.64% 0.0008 -0.1812)
OKLCHoklch(60.64% 0.181 270.2)
XYZxyz(25.9758, 21.2427, 82.8357)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76ED #EDD15A
analogous
#5AC0ED #5A76ED #885AED
triadic
#5A76ED #ED5A76 #76ED5A
tetradic
#5A76ED #ED5AC0 #EDD15A #5AED88
square
#5A76ED #ED5AC0 #EDD15A #5AED88
split-complementary
#5A76ED #ED885A #C0ED5A
monochromatic
#1433B8 #2348E7 #5A76ED #91A4F3 #C8D2F9

Accessibility & contrast

On white

4.00
#5A76ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5A76ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76ED
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76ED#FFFFFF#000000##000000
##5A76ED1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F1
Deuteranopia (green-blind)
#0179EB
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a76ed;
/* rgb */ color: rgb(90, 118, 237);
/* oklch */ color: oklch(60.6% 0.181 270.2);
Tailwind
colors: {
  custom: {
    50: '#969df3',
    500: '#5a76ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a76ed;
$custom-light: #969df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76ed",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 228.571,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.18123,
    "h": 270.2
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#5A76ED
secondary
#EBE1B8
accent
#B409DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5A76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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