#5A5BCA#5A5BCA
#5A5BCA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.168 H 278.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BCA |
|---|---|
| RGB | rgb(90, 91, 202) |
| HSL | hsl(239, 51%, 57%) |
| HSV | hsv(239, 55%, 79%) |
| CMYK | cmyk(55.4%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(44.12, 31.24, -58.08) |
| CIE-LCH | lch(44.12, 65.95, 298.28°) |
| OKLab | oklab(53.07% 0.0252 -0.1663) |
| OKLCH | oklch(53.07% 0.168 278.6) |
| XYZ | xyz(18.6148, 13.9189, 57.5714) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.11
Dark Periwinkle
#665FD1
ΔE00 2.52
Slate Blue
#6A5ACD
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 3.05
Light Indigo
#6D5ACF
ΔE00 3.61
Azul
#1D5DEC
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BCA #CAC95A
analogous
#5A93CA #5A5BCA #915ACA
triadic
#5A5BCA #CA5A5B #5BCA5A
tetradic
#5A5BCA #CA5A93 #CAC95A #5ACA91
square
#5A5BCA #CA5A93 #CAC95A #5ACA91
split-complementary
#5A5BCA #CA915A #93CA5A
monochromatic
#292A80 #3839AF #5A5BCA #8889D9 #B7B7E8
Accessibility & contrast
On white
5.55
#5A5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#5A5BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BCA
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BCA | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F6DCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#20758A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5a5bca; /* rgb */ color: rgb(90, 91, 202); /* oklch */ color: oklch(53.1% 0.168 278.6);
Tailwind
colors: {
custom: {
50: '#9289db',
500: '#5a5bca',
950: '#000000',
},
}SCSS
$custom: #5a5bca; $custom-light: #9289db; $custom-dark: #000000;
JSON
{
"hex": "#5a5bca",
"rgb": {
"r": 90,
"g": 91,
"b": 202
},
"hsl": {
"h": 239.464,
"s": 51.376,
"l": 57.255
},
"oklch": {
"l": 0.53072,
"c": 0.16821,
"h": 278.6
},
"luminance": 0.1392
}Semantic roles & 50–950 ramp
primary
#5A5BCA
secondary
#D7D6A9
accent
#DA4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83