#5A5BCF#5A5BCF
#5A5BCF is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.175 H 278.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BCF |
|---|---|
| RGB | rgb(90, 91, 207) |
| HSL | hsl(239, 55%, 58%) |
| HSV | hsv(239, 57%, 81%) |
| CMYK | cmyk(56.5%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(44.46, 32.85, -60.40) |
| CIE-LCH | lch(44.46, 68.75, 298.54°) |
| OKLab | oklab(53.44% 0.0253 -0.1731) |
| OKLCH | oklch(53.44% 0.175 278.3) |
| XYZ | xyz(19.2164, 14.1595, 60.7398) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.29
Iris
#6258C4
ΔE00 2.46
Warm Blue
#4B57DB
ΔE00 2.61
Slate Blue
#6A5ACD
ΔE00 2.96
Light Indigo
#6D5ACF
ΔE00 3.48
Azul
#1D5DEC
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BCF #CFCE5A
analogous
#5A95CF #5A5BCF #935ACF
triadic
#5A5BCF #CF5A5B #5BCF5A
tetradic
#5A5BCF #CF5A95 #CFCE5A #5ACF93
square
#5A5BCF #CF5A95 #CFCE5A #5ACF93
split-complementary
#5A5BCF #CF935A #95CF5A
monochromatic
#272887 #3536B7 #5A5BCF #898ADD #B9B9EB
Accessibility & contrast
On white
5.48
#5A5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#5A5BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BCF
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BCF | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#17768C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5a5bcf; /* rgb */ color: rgb(90, 91, 207); /* oklch */ color: oklch(53.4% 0.175 278.3);
Tailwind
colors: {
custom: {
50: '#9289de',
500: '#5a5bcf',
950: '#000000',
},
}SCSS
$custom: #5a5bcf; $custom-light: #9289de; $custom-dark: #000000;
JSON
{
"hex": "#5a5bcf",
"rgb": {
"r": 90,
"g": 91,
"b": 207
},
"hsl": {
"h": 239.487,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.53437,
"c": 0.17497,
"h": 278.3
},
"luminance": 0.14161
}Semantic roles & 50–950 ramp
primary
#5A5BCF
secondary
#DAD9AB
accent
#DD4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83