#5A6EE5#5A6EE5

#5A6EE5 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.6% C 0.180 H 272.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5A6EE5
RGBrgb(90, 110, 229)
HSLhsl(231, 73%, 63%)
HSVhsv(231, 61%, 90%)
CMYKcmyk(60.7%, 52%, 0%, 10.2%)
CIE-LABlab(50.66, 28.38, -62.87)
CIE-LCHlch(50.66, 68.98, 294.29°)
OKLaboklab(58.55% 0.0077 -0.1802)
OKLCHoklch(58.55% 0.18 272.4)
XYZxyz(23.9305, 18.9807, 76.5161)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EE5 #E5D15A
analogous
#5AB3E5 #5A6EE5 #8C5AE5
triadic
#5A6EE5 #E55A6E #6EE55A
tetradic
#5A6EE5 #E55AB3 #E5D15A #5AE58C
square
#5A6EE5 #E55AB3 #E5D15A #5AE58C
split-complementary
#5A6EE5 #E58C5A #B3E55A
monochromatic
#1B2FAA #2540DD #5A6EE5 #8F9CED #C4CBF6

Accessibility & contrast

On white

4.38
#5A6EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5A6EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EE5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EE5#FFFFFF#000000##000000
##5A6EE51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a6ee5;
/* rgb */ color: rgb(90, 110, 229);
/* oklch */ color: oklch(58.6% 0.180 272.4);
Tailwind
colors: {
  custom: {
    50: '#9597ee',
    500: '#5a6ee5',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ee5;
$custom-light: #9597ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ee5",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 229
  },
  "hsl": {
    "h": 231.367,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58553,
    "c": 0.18039,
    "h": 272.4
  },
  "luminance": 0.18983
}

Semantic roles & 50–950 ramp

primary
#5A6EE5
secondary
#E7DFB4
accent
#B911D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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