#5A76E1#5A76E1

#5A76E1 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.165 H 269.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5A76E1
RGBrgb(90, 118, 225)
HSLhsl(228, 69%, 62%)
HSVhsv(228, 60%, 88%)
CMYKcmyk(60%, 47.6%, 0%, 11.8%)
CIE-LABlab(52.47, 22.13, -57.72)
CIE-LCHlch(52.47, 61.81, 290.98°)
OKLaboklab(59.84% -0.0005 -0.165)
OKLCHoklch(59.84% 0.165 269.8)
XYZxyz(24.2809, 20.5648, 73.9094)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A76E1 #E1C55A
analogous
#5AB9E1 #5A76E1 #825AE1
triadic
#5A76E1 #E15A76 #76E15A
tetradic
#5A76E1 #E15AB9 #E1C55A #5AE182
square
#5A76E1 #E15AB9 #E1C55A #5AE182
split-complementary
#5A76E1 #E1825A #B9E15A
monochromatic
#1E39A3 #274BD7 #5A76E1 #8EA1EA #C2CCF4

Accessibility & contrast

On white

4.11
#5A76E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5A76E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A76E1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A76E1#FFFFFF#000000##000000
##5A76E11.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4084E5
Deuteranopia (green-blind)
#2978DF
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5a76e1;
/* rgb */ color: rgb(90, 118, 225);
/* oklch */ color: oklch(59.8% 0.165 269.8);
Tailwind
colors: {
  custom: {
    50: '#949deb',
    500: '#5a76e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a76e1;
$custom-light: #949deb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a76e1",
  "rgb": {
    "r": 90,
    "g": 118,
    "b": 225
  },
  "hsl": {
    "h": 227.556,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.16497,
    "h": 269.8
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#5A76E1
secondary
#E4DAB2
accent
#AA14D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A76E1

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

Preview Lab → · Contrast checker → · Palette generator →

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