#5A6AE4#5A6AE4

#5A6AE4 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.7% C 0.184 H 273.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5A6AE4
RGBrgb(90, 106, 228)
HSLhsl(233, 72%, 62%)
HSVhsv(233, 61%, 89%)
CMYKcmyk(60.5%, 53.5%, 0%, 10.6%)
CIE-LABlab(49.59, 30.50, -64.04)
CIE-LCHlch(49.59, 70.93, 295.47°)
OKLaboklab(57.73% 0.0114 -0.1837)
OKLCHoklch(57.73% 0.184 273.6)
XYZxyz(23.3695, 18.0813, 75.6423)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6AE4 #E4D45A
analogous
#5AAFE4 #5A6AE4 #8F5AE4
triadic
#5A6AE4 #E45A6A #6AE45A
tetradic
#5A6AE4 #E45AAF #E4D45A #5AE48F
square
#5A6AE4 #E45AAF #E4D45A #5AE48F
split-complementary
#5A6AE4 #E48F5A #AFE45A
monochromatic
#1C2CA8 #253BDB #5A6AE4 #8F99ED #C3C9F5

Accessibility & contrast

On white

4.55
#5A6AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5A6AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6AE4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6AE4#FFFFFF#000000##000000
##5A6AE41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#177CE8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#00879D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a6ae4;
/* rgb */ color: rgb(90, 106, 228);
/* oklch */ color: oklch(57.7% 0.184 273.6);
Tailwind
colors: {
  custom: {
    50: '#9594ed',
    500: '#5a6ae4',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ae4;
$custom-light: #9594ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ae4",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 233.043,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57728,
    "c": 0.18406,
    "h": 273.6
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#5A6AE4
secondary
#E6E0B4
accent
#BD12D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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