#5A5BBD#5A5BBD
#5A5BBD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.150 H 279.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BBD |
|---|---|
| RGB | rgb(90, 91, 189) |
| HSL | hsl(239, 43%, 55%) |
| HSV | hsv(239, 52%, 74%) |
| CMYK | cmyk(52.4%, 51.9%, 0%, 25.9%) |
| CIE-LAB | lab(43.25, 27.08, -51.93) |
| CIE-LCH | lch(43.25, 58.57, 297.54°) |
| OKLab | oklab(52.15% 0.0245 -0.1482) |
| OKLCH | oklch(52.15% 0.15 279.4) |
| XYZ | xyz(17.1400, 13.3289, 49.8038) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.27
Dark Periwinkle
#665FD1
ΔE00 3.75
Slate Blue
#6A5ACD
ΔE00 3.89
Light Indigo
#6D5ACF
ΔE00 4.50
Warm Blue
#4B57DB
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BBD #BDBC5A
analogous
#5A8DBD #5A5BBD #8B5ABD
triadic
#5A5BBD #BD5A5B #5BBD5A
tetradic
#5A5BBD #BD5A8D #BDBC5A #5ABD8B
square
#5A5BBD #BD5A8D #BDBC5A #5ABD8B
split-complementary
#5A5BBD #BD8B5A #8DBD5A
monochromatic
#2D2D70 #3E3F9C #5A5BBD #8686CE #B1B2E0
Accessibility & contrast
On white
5.73
#5A5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#5A5BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BBD
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BBD | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#1C62BB
Tritanopia (blue-blind)
#307183
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5a5bbd; /* rgb */ color: rgb(90, 91, 189); /* oklch */ color: oklch(52.2% 0.150 279.4);
Tailwind
colors: {
custom: {
50: '#9089d1',
500: '#5a5bbd',
950: '#000000',
},
}SCSS
$custom: #5a5bbd; $custom-light: #9089d1; $custom-dark: #000000;
JSON
{
"hex": "#5a5bbd",
"rgb": {
"r": 90,
"g": 91,
"b": 189
},
"hsl": {
"h": 239.394,
"s": 42.857,
"l": 54.706
},
"oklch": {
"l": 0.52152,
"c": 0.15025,
"h": 279.4
},
"luminance": 0.1333
}Semantic roles & 50–950 ramp
primary
#5A5BBD
secondary
#CECEA5
accent
#D155D3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82