#5A59BF#5A59BF
#5A59BF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.156 H 279.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5A59BF |
|---|---|
| RGB | rgb(90, 89, 191) |
| HSL | hsl(241, 44%, 55%) |
| HSV | hsv(241, 53%, 75%) |
| CMYK | cmyk(52.9%, 53.4%, 0%, 25.1%) |
| CIE-LAB | lab(42.88, 28.96, -53.70) |
| CIE-LCH | lch(42.88, 61.01, 298.34°) |
| OKLab | oklab(51.92% 0.0269 -0.1534) |
| OKLCH | oklch(51.92% 0.156 279.9) |
| XYZ | xyz(17.1899, 13.0790, 50.8988) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.77
Slate Blue
#6A5ACD
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 3.71
Light Indigo
#6D5ACF
ΔE00 4.19
Warm Blue
#4B57DB
ΔE00 4.30
Ocean Blue
#4F42B5
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A59BF #BEBF59
analogous
#598BBF #5A59BF #8D59BF
triadic
#5A59BF #BF5A59 #59BF5A
tetradic
#5A59BF #BF598B #BEBF59 #59BF8D
square
#5A59BF #BF598B #BEBF59 #59BF8D
split-complementary
#5A59BF #BF8D59 #8BBF59
monochromatic
#2D2C72 #3E3D9E #5A59BF #8685D0 #B2B1E1
Accessibility & contrast
On white
5.81
#5A59BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5A59BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A59BF
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A59BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A59BF | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#0F61BD
Tritanopia (blue-blind)
#2E7083
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5a59bf; /* rgb */ color: rgb(90, 89, 191); /* oklch */ color: oklch(51.9% 0.156 279.9);
Tailwind
colors: {
custom: {
50: '#9088d3',
500: '#5a59bf',
950: '#000000',
},
}SCSS
$custom: #5a59bf; $custom-light: #9088d3; $custom-dark: #000000;
JSON
{
"hex": "#5a59bf",
"rgb": {
"r": 90,
"g": 89,
"b": 191
},
"hsl": {
"h": 240.588,
"s": 44.348,
"l": 54.902
},
"oklch": {
"l": 0.51915,
"c": 0.15577,
"h": 279.9
},
"luminance": 0.1308
}Semantic roles & 50–950 ramp
primary
#5A59BF
secondary
#CFCFA4
accent
#D454D3
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83