#5A6DE4#5A6DE4

#5A6DE4 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.180 H 272.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5A6DE4
RGBrgb(90, 109, 228)
HSLhsl(232, 72%, 62%)
HSVhsv(232, 61%, 89%)
CMYKcmyk(60.5%, 52.2%, 0%, 10.6%)
CIE-LABlab(50.35, 28.66, -62.82)
CIE-LCHlch(50.35, 69.05, 294.52°)
OKLaboklab(58.29% 0.0086 -0.1801)
OKLCHoklch(58.29% 0.18 272.7)
XYZxyz(23.6840, 18.7104, 75.7471)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6DE4 #E4D15A
analogous
#5AB2E4 #5A6DE4 #8C5AE4
triadic
#5A6DE4 #E45A6D #6DE45A
tetradic
#5A6DE4 #E45AB2 #E4D15A #5AE48C
square
#5A6DE4 #E45AB2 #E4D15A #5AE48C
split-complementary
#5A6DE4 #E48C5A #B2E45A
monochromatic
#1C2FA8 #253EDB #5A6DE4 #8F9CED #C3CAF5

Accessibility & contrast

On white

4.43
#5A6DE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5A6DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6DE4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6DE4#FFFFFF#000000##000000
##5A6DE41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a6de4;
/* rgb */ color: rgb(90, 109, 228);
/* oklch */ color: oklch(58.3% 0.180 272.7);
Tailwind
colors: {
  custom: {
    50: '#9596ed',
    500: '#5a6de4',
    950: '#000000',
  },
}
SCSS
$custom: #5a6de4;
$custom-light: #9596ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6de4",
  "rgb": {
    "r": 90,
    "g": 109,
    "b": 228
  },
  "hsl": {
    "h": 231.739,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.1803,
    "h": 272.7
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A6DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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