#5A6CE4#5A6CE4

#5A6CE4 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.1% C 0.182 H 273.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5A6CE4
RGBrgb(90, 108, 228)
HSLhsl(232, 72%, 62%)
HSVhsv(232, 61%, 89%)
CMYKcmyk(60.5%, 52.6%, 0%, 10.6%)
CIE-LABlab(50.09, 29.27, -63.23)
CIE-LCHlch(50.09, 69.68, 294.84°)
OKLaboklab(58.1% 0.0095 -0.1813)
OKLCHoklch(58.1% 0.182 273)
XYZxyz(23.5780, 18.4983, 75.7118)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6CE4 #E4D25A
analogous
#5AB1E4 #5A6CE4 #8D5AE4
triadic
#5A6CE4 #E45A6C #6CE45A
tetradic
#5A6CE4 #E45AB1 #E4D25A #5AE48D
square
#5A6CE4 #E45AB1 #E4D25A #5AE48D
split-complementary
#5A6CE4 #E48D5A #B1E45A
monochromatic
#1C2EA8 #253DDB #5A6CE4 #8F9BED #C3CAF5

Accessibility & contrast

On white

4.47
#5A6CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5A6CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A6CE4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6CE4#FFFFFF#000000##000000
##5A6CE41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#207DE8
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a6ce4;
/* rgb */ color: rgb(90, 108, 228);
/* oklch */ color: oklch(58.1% 0.182 273.0);
Tailwind
colors: {
  custom: {
    50: '#9595ed',
    500: '#5a6ce4',
    950: '#000000',
  },
}
SCSS
$custom: #5a6ce4;
$custom-light: #9595ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6ce4",
  "rgb": {
    "r": 90,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 232.174,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.18156,
    "h": 273
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#5A6CE4
secondary
#E6E0B4
accent
#BB12D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A6CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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