#5A59E7#5A59E7

#5A59E7 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.9% C 0.209 H 277.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5A59E7
RGBrgb(90, 89, 231)
HSLhsl(240, 75%, 63%)
HSVhsv(240, 61%, 91%)
CMYKcmyk(61%, 61.5%, 0%, 9.4%)
CIE-LABlab(45.75, 41.79, -71.97)
CIE-LCHlch(45.75, 83.22, 300.14°)
OKLaboklab(54.95% 0.0267 -0.2072)
OKLCHoklch(54.95% 0.209 277.3)
XYZxyz(22.2080, 15.0862, 77.3274)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A59E7 #E6E759
analogous
#599FE7 #5A59E7 #A159E7
triadic
#5A59E7 #E75A59 #59E75A
tetradic
#5A59E7 #E7599F #E6E759 #59E7A1
square
#5A59E7 #E7599F #E6E759 #59E7A1
split-complementary
#5A59E7 #E7A159 #9FE759
monochromatic
#1A19AD #2524DF #5A59E7 #8F8EEF #C4C4F6

Accessibility & contrast

On white

5.23
#5A59E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5A59E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A59E7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A59E7#FFFFFF#000000##FFFFFF
##5A59E71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a59e7;
/* rgb */ color: rgb(90, 89, 231);
/* oklch */ color: oklch(54.9% 0.209 277.3);
Tailwind
colors: {
  custom: {
    50: '#9688f0',
    500: '#5a59e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a59e7;
$custom-light: #9688f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a59e7",
  "rgb": {
    "r": 90,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 240.423,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.20888,
    "h": 277.3
  },
  "luminance": 0.15088
}

Semantic roles & 50–950 ramp

primary
#5A59E7
secondary
#E7E8B4
accent
#D70FD5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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