#5A59EA#5A59EA

#5A59EA is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.2% C 0.213 H 277.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5A59EA
RGBrgb(90, 89, 234)
HSLhsl(240, 78%, 63%)
HSVhsv(240, 62%, 92%)
CMYKcmyk(61.5%, 62%, 0%, 8.2%)
CIE-LABlab(45.98, 42.75, -73.28)
CIE-LCHlch(45.98, 84.84, 300.26°)
OKLaboklab(55.19% 0.0265 -0.211)
OKLCHoklch(55.19% 0.213 277.2)
XYZxyz(22.6353, 15.2571, 79.5781)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A59EA #E9EA59
analogous
#59A0EA #5A59EA #A259EA
triadic
#5A59EA #EA5A59 #59EA5A
tetradic
#5A59EA #EA59A0 #E9EA59 #59EAA2
square
#5A59EA #EA59A0 #E9EA59 #59EAA2
split-complementary
#5A59EA #EAA259 #A0EA59
monochromatic
#1817B2 #2423E3 #5A59EA #908FF1 #C6C6F8

Accessibility & contrast

On white

5.18
#5A59EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5A59EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A59EA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A59EA#FFFFFF#000000##FFFFFF
##5A59EA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a59ea;
/* rgb */ color: rgb(90, 89, 234);
/* oklch */ color: oklch(55.2% 0.213 277.2);
Tailwind
colors: {
  custom: {
    50: '#9788f2',
    500: '#5a59ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a59ea;
$custom-light: #9788f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a59ea",
  "rgb": {
    "r": 90,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 240.414,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.21269,
    "h": 277.2
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#5A59EA
secondary
#E9E9B6
accent
#DA0CD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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