#5A6CE5#5A6CE5

#5A6CE5 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.2% C 0.183 H 273.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5A6CE5
RGBrgb(90, 108, 229)
HSLhsl(232, 73%, 63%)
HSVhsv(232, 61%, 90%)
CMYKcmyk(60.7%, 52.8%, 0%, 10.2%)
CIE-LABlab(50.16, 29.61, -63.69)
CIE-LCHlch(50.16, 70.23, 294.93°)
OKLaboklab(58.18% 0.0096 -0.1826)
OKLCHoklch(58.18% 0.183 273)
XYZxyz(23.7172, 18.5540, 76.4450)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6CE5 #E5D35A
analogous
#5AB2E5 #5A6CE5 #8D5AE5
triadic
#5A6CE5 #E55A6C #6CE55A
tetradic
#5A6CE5 #E55AB2 #E5D35A #5AE58D
square
#5A6CE5 #E55AB2 #E5D35A #5AE58D
split-complementary
#5A6CE5 #E58D5A #B2E55A
monochromatic
#1B2DAA #253DDD #5A6CE5 #8F9BED #C4CAF6

Accessibility & contrast

On white

4.46
#5A6CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5A6CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6CE5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6CE5#FFFFFF#000000##000000
##5A6CE51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7EE9
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6ce5;
/* rgb */ color: rgb(90, 108, 229);
/* oklch */ color: oklch(58.2% 0.183 273.0);
Tailwind
colors: {
  custom: {
    50: '#9595ee',
    500: '#5a6ce5',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ce5;
$custom-light: #9595ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ce5",
  "rgb": {
    "r": 90,
    "g": 108,
    "b": 229
  },
  "hsl": {
    "h": 232.23,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.1829,
    "h": 273
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#5A6CE5
secondary
#E7E0B4
accent
#BB11D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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