#5A6AE5#5A6AE5

#5A6AE5 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.8% C 0.185 H 273.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5A6AE5
RGBrgb(90, 106, 229)
HSLhsl(233, 73%, 63%)
HSVhsv(233, 61%, 90%)
CMYKcmyk(60.7%, 53.7%, 0%, 10.2%)
CIE-LABlab(49.66, 30.83, -64.49)
CIE-LCHlch(49.66, 71.48, 295.55°)
OKLaboklab(57.8% 0.0115 -0.185)
OKLCHoklch(57.8% 0.185 273.5)
XYZxyz(23.5087, 18.1370, 76.3755)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6AE5 #E5D55A
analogous
#5AAFE5 #5A6AE5 #905AE5
triadic
#5A6AE5 #E55A6A #6AE55A
tetradic
#5A6AE5 #E55AAF #E5D55A #5AE590
square
#5A6AE5 #E55AAF #E5D55A #5AE590
split-complementary
#5A6AE5 #E5905A #AFE55A
monochromatic
#1B2BAA #253ADD #5A6AE5 #8F9AED #C4C9F6

Accessibility & contrast

On white

4.54
#5A6AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5A6AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6AE5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6AE5#FFFFFF#000000##000000
##5A6AE51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#147CE9
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a6ae5;
/* rgb */ color: rgb(90, 106, 229);
/* oklch */ color: oklch(57.8% 0.185 273.5);
Tailwind
colors: {
  custom: {
    50: '#9594ee',
    500: '#5a6ae5',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ae5;
$custom-light: #9594ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ae5",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 233.094,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.578,
    "c": 0.1854,
    "h": 273.5
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#5A6AE5
secondary
#E7E1B4
accent
#BE11D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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