#5A5AE9#5A5AE9

#5A5AE9 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.3% C 0.210 H 277.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5A5AE9
RGBrgb(90, 90, 233)
HSLhsl(240, 76%, 63%)
HSVhsv(240, 61%, 91%)
CMYKcmyk(61.4%, 61.4%, 0%, 8.6%)
CIE-LABlab(46.13, 41.83, -72.48)
CIE-LCHlch(46.13, 83.68, 299.99°)
OKLaboklab(55.27% 0.0257 -0.2086)
OKLCHoklch(55.27% 0.21 277)
XYZxyz(22.5758, 15.3674, 78.8515)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5AE9 #E9E95A
analogous
#5AA1E9 #5A5AE9 #A15AE9
triadic
#5A5AE9 #E95A5A #5AE95A
tetradic
#5A5AE9 #E95AA1 #E9E95A #5AE9A1
square
#5A5AE9 #E95AA1 #E9E95A #5AE9A1
split-complementary
#5A5AE9 #E9A15A #A1E95A
monochromatic
#1818B1 #2424E2 #5A5AE9 #9090F0 #C6C6F7

Accessibility & contrast

On white

5.15
#5A5AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5A5AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5AE9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5AE9#FFFFFF#000000##FFFFFF
##5A5AE91.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a5ae9;
/* rgb */ color: rgb(90, 90, 233);
/* oklch */ color: oklch(55.3% 0.210 277.0);
Tailwind
colors: {
  custom: {
    50: '#9789f1',
    500: '#5a5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #5a5ae9;
$custom-light: #9789f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5ae9",
  "rgb": {
    "r": 90,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 240,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.21023,
    "h": 277
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#5A5AE9
secondary
#E9E9B6
accent
#D90DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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