#5B59AA#5B59AA
#5B59AA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.126 H 282.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5B59AA |
|---|---|
| RGB | rgb(91, 89, 170) |
| HSL | hsl(241, 32%, 51%) |
| HSV | hsv(241, 48%, 67%) |
| CMYK | cmyk(46.5%, 47.6%, 0%, 33.3%) |
| CIE-LAB | lab(41.64, 22.58, -43.37) |
| CIE-LCH | lch(41.64, 48.89, 297.50°) |
| OKLab | oklab(50.58% 0.0262 -0.1231) |
| OKLCH | oklch(50.58% 0.126 282) |
| XYZ | xyz(15.1403, 12.2705, 39.5931) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.41
Twilight
#4E518B
ΔE00 5.83
Slate Blue
#6A5ACD
ΔE00 6.08
Dark Periwinkle
#665FD1
ΔE00 6.45
Light Indigo
#6D5ACF
ΔE00 6.59
Dusky Blue
#475F94
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B59AA #A8AA59
analogous
#597FAA #5B59AA #8359AA
triadic
#5B59AA #AA5B59 #59AA5B
tetradic
#5B59AA #AA597F #A8AA59 #59AA83
square
#5B59AA #AA597F #A8AA59 #59AA83
split-complementary
#5B59AA #AA8359 #7FAA59
monochromatic
#2F2E5A #454383 #5B59AA #8381BF #ABAAD3
Accessibility & contrast
On white
6.08
#5B59AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5B59AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B59AA
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B59AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B59AA | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3765AD
Deuteranopia (green-blind)
#335FA8
Tritanopia (blue-blind)
#406A79
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5b59aa; /* rgb */ color: rgb(91, 89, 170); /* oklch */ color: oklch(50.6% 0.126 282.0);
Tailwind
colors: {
custom: {
50: '#8e88c4',
500: '#5b59aa',
950: '#000000',
},
}SCSS
$custom: #5b59aa; $custom-light: #8e88c4; $custom-dark: #000000;
JSON
{
"hex": "#5b59aa",
"rgb": {
"r": 91,
"g": 89,
"b": 170
},
"hsl": {
"h": 241.481,
"s": 32.271,
"l": 50.784
},
"oklch": {
"l": 0.50579,
"c": 0.12582,
"h": 282
},
"luminance": 0.12271
}Semantic roles & 50–950 ramp
primary
#5B59AA
secondary
#C0C19D
accent
#C85FC6
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B12
muted
#7E7C81