#5A6AE3#5A6AE3

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

Color values

HEX#5A6AE3
RGBrgb(90, 106, 227)
HSLhsl(233, 71%, 62%)
HSVhsv(233, 60%, 89%)
CMYKcmyk(60.4%, 53.3%, 0%, 11%)
CIE-LABlab(49.53, 30.17, -63.58)
CIE-LCHlch(49.53, 70.38, 295.39°)
OKLaboklab(57.66% 0.0114 -0.1824)
OKLCHoklch(57.66% 0.183 273.6)
XYZxyz(23.2310, 18.0259, 74.9133)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6AE3 #E3D35A
analogous
#5AAEE3 #5A6AE3 #8F5AE3
triadic
#5A6AE3 #E35A6A #6AE35A
tetradic
#5A6AE3 #E35AAE #E3D35A #5AE38F
square
#5A6AE3 #E35AAE #E3D35A #5AE38F
split-complementary
#5A6AE3 #E38F5A #AEE35A
monochromatic
#1C2CA6 #263BDA #5A6AE3 #8E99EC #C3C8F5

Accessibility & contrast

On white

4.56
#5A6AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5A6AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6AE3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6AE3#FFFFFF#000000##000000
##5A6AE31.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#197CE7
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a6ae3;
/* rgb */ color: rgb(90, 106, 227);
/* oklch */ color: oklch(57.7% 0.183 273.6);
Tailwind
colors: {
  custom: {
    50: '#9594ed',
    500: '#5a6ae3',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ae3;
$custom-light: #9594ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ae3",
  "rgb": {
    "r": 90,
    "g": 106,
    "b": 227
  },
  "hsl": {
    "h": 232.993,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.18272,
    "h": 273.6
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#5A6AE3
secondary
#E6E0B3
accent
#BD12D3
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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