#5A6EE4#5A6EE4

#5A6EE4 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.5% C 0.179 H 272.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5A6EE4
RGBrgb(90, 110, 228)
HSLhsl(231, 72%, 62%)
HSVhsv(231, 61%, 89%)
CMYKcmyk(60.5%, 51.8%, 0%, 10.6%)
CIE-LABlab(50.60, 28.04, -62.42)
CIE-LCHlch(50.60, 68.43, 294.20°)
OKLaboklab(58.48% 0.0076 -0.1789)
OKLCHoklch(58.48% 0.179 272.4)
XYZxyz(23.7913, 18.9250, 75.7829)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6EE4 #E4D05A
analogous
#5AB3E4 #5A6EE4 #8B5AE4
triadic
#5A6EE4 #E45A6E #6EE45A
tetradic
#5A6EE4 #E45AB3 #E4D05A #5AE48B
square
#5A6EE4 #E45AB3 #E4D05A #5AE48B
split-complementary
#5A6EE4 #E48B5A #B3E45A
monochromatic
#1C30A8 #2540DB #5A6EE4 #8F9CED #C3CAF5

Accessibility & contrast

On white

4.39
#5A6EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5A6EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6EE4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6EE4#FFFFFF#000000##000000
##5A6EE41.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6ee4;
/* rgb */ color: rgb(90, 110, 228);
/* oklch */ color: oklch(58.5% 0.179 272.4);
Tailwind
colors: {
  custom: {
    50: '#9597ed',
    500: '#5a6ee4',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ee4;
$custom-light: #9597ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ee4",
  "rgb": {
    "r": 90,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 231.304,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.17905,
    "h": 272.4
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#5A6EE4
secondary
#E6DFB4
accent
#B812D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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