#5A76EB#5A76EB

#5A76EB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.5% C 0.179 H 270.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5A76EB
RGBrgb(90, 118, 235)
HSLhsl(228, 78%, 64%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(61.7%, 49.8%, 0%, 7.8%)
CIE-LABlab(53.09, 25.47, -62.33)
CIE-LCHlch(53.09, 67.33, 292.22°)
OKLaboklab(60.51% 0.0006 -0.1785)
OKLCHoklch(60.51% 0.179 270.2)
XYZxyz(25.6852, 21.1265, 81.3054)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76EB #EBCF5A
analogous
#5ABEEB #5A76EB #865AEB
triadic
#5A76EB #EB5A76 #76EB5A
tetradic
#5A76EB #EB5ABE #EBCF5A #5AEB86
square
#5A76EB #EB5ABE #EBCF5A #5AEB86
split-complementary
#5A76EB #EB865A #BEEB5A
monochromatic
#1635B5 #2349E4 #5A76EB #91A3F2 #C7D1F8

Accessibility & contrast

On white

4.02
#5A76EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5A76EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76EB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76EB#FFFFFF#000000##000000
##5A76EB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586EF
Deuteranopia (green-blind)
#0D79E9
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a76eb;
/* rgb */ color: rgb(90, 118, 235);
/* oklch */ color: oklch(60.5% 0.179 270.2);
Tailwind
colors: {
  custom: {
    50: '#959df2',
    500: '#5a76eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a76eb;
$custom-light: #959df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76eb",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 228.414,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60506,
    "c": 0.17854,
    "h": 270.2
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

primary
#5A76EB
secondary
#EAE0B7
accent
#B30BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5A76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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