#5A5BAE#5A5BAE
#5A5BAE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.129 H 280.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BAE |
|---|---|
| RGB | rgb(90, 91, 174) |
| HSL | hsl(239, 34%, 52%) |
| HSV | hsv(239, 48%, 68%) |
| CMYK | cmyk(48.3%, 47.7%, 0%, 31.8%) |
| CIE-LAB | lab(42.32, 22.33, -44.64) |
| CIE-LCH | lch(42.32, 49.92, 296.57°) |
| OKLab | oklab(51.15% 0.0231 -0.1268) |
| OKLCH | oklch(51.15% 0.129 280.3) |
| XYZ | xyz(15.5952, 12.7110, 41.6679) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.07
Slate Blue
#6A5ACD
ΔE00 5.71
Dark Periwinkle
#665FD1
ΔE00 5.80
Light Indigo
#6D5ACF
ΔE00 6.25
Dusky Blue
#475F94
ΔE00 6.41
Twilight
#4E518B
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BAE #AEAD5A
analogous
#5A85AE #5A5BAE #835AAE
triadic
#5A5BAE #AE5A5B #5BAE5A
tetradic
#5A5BAE #AE5A85 #AEAD5A #5AAE83
square
#5A5BAE #AE5A85 #AEAD5A #5AAE83
split-complementary
#5A5BAE #AE835A #85AE5A
monochromatic
#2F2F5F #434488 #5A5BAE #8384C2 #ACADD6
Accessibility & contrast
On white
5.93
#5A5BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#5A5BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BAE
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BAE | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#3161AC
Tritanopia (blue-blind)
#3C6D7C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a5bae; /* rgb */ color: rgb(90, 91, 174); /* oklch */ color: oklch(51.2% 0.129 280.3);
Tailwind
colors: {
custom: {
50: '#8e89c7',
500: '#5a5bae',
950: '#000000',
},
}SCSS
$custom: #5a5bae; $custom-light: #8e89c7; $custom-dark: #000000;
JSON
{
"hex": "#5a5bae",
"rgb": {
"r": 90,
"g": 91,
"b": 174
},
"hsl": {
"h": 239.286,
"s": 34.146,
"l": 51.765
},
"oklch": {
"l": 0.51152,
"c": 0.1289,
"h": 280.3
},
"luminance": 0.12712
}Semantic roles & 50–950 ramp
primary
#5A5BAE
secondary
#C4C49F
accent
#C95ECA
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82