#5A59E9#5A59E9

#5A59E9 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.211 H 277.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5A59E9
RGBrgb(90, 89, 233)
HSLhsl(240, 77%, 63%)
HSVhsv(240, 62%, 91%)
CMYKcmyk(61.4%, 61.8%, 0%, 8.6%)
CIE-LABlab(45.91, 42.43, -72.85)
CIE-LCHlch(45.91, 84.30, 300.22°)
OKLaboklab(55.11% 0.0266 -0.2097)
OKLCHoklch(55.11% 0.211 277.2)
XYZxyz(22.4921, 15.1998, 78.8236)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A59E9 #E8E959
analogous
#59A0E9 #5A59E9 #A259E9
triadic
#5A59E9 #E95A59 #59E95A
tetradic
#5A59E9 #E959A0 #E8E959 #59E9A2
square
#5A59E9 #E959A0 #E8E959 #59E9A2
split-complementary
#5A59E9 #E9A259 #A0E959
monochromatic
#1817B0 #2423E2 #5A59E9 #908FF0 #C5C5F7

Accessibility & contrast

On white

5.20
#5A59E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5A59E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A59E9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A59E9#FFFFFF#000000##FFFFFF
##5A59E91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a59e9;
/* rgb */ color: rgb(90, 89, 233);
/* oklch */ color: oklch(55.1% 0.211 277.2);
Tailwind
colors: {
  custom: {
    50: '#9788f1',
    500: '#5a59e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a59e9;
$custom-light: #9788f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a59e9",
  "rgb": {
    "r": 90,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 240.417,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.21142,
    "h": 277.2
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#5A59E9
secondary
#E8E9B5
accent
#D90DD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A59E9

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

Preview Lab → · Contrast checker → · Palette generator →

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