#5B5ADC#5B5ADC
#5B5ADC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.3% C 0.193 H 278.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5ADC |
|---|---|
| RGB | rgb(91, 90, 220) |
| HSL | hsl(240, 65%, 61%) |
| HSV | hsv(240, 59%, 86%) |
| CMYK | cmyk(58.6%, 59.1%, 0%, 13.7%) |
| CIE-LAB | lab(45.22, 37.82, -66.59) |
| CIE-LCH | lch(45.22, 76.58, 299.60°) |
| OKLab | oklab(54.32% 0.0274 -0.1913) |
| OKLCH | oklch(54.32% 0.193 278.1) |
| XYZ | xyz(20.8847, 14.7023, 69.4336) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.32
Dark Periwinkle
#665FD1
ΔE00 2.59
Slate Blue
#6A5ACD
ΔE00 3.27
Light Indigo
#6D5ACF
ΔE00 3.54
Iris
#6258C4
ΔE00 3.67
Azul
#1D5DEC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5ADC #DBDC5A
analogous
#5A9ADC #5B5ADC #9C5ADC
triadic
#5B5ADC #DC5B5A #5ADC5B
tetradic
#5B5ADC #DC5A9A #DBDC5A #5ADC9C
square
#5B5ADC #DC5A9A #DBDC5A #5ADC9C
split-complementary
#5B5ADC #DC9C5A #9ADC5A
monochromatic
#22219B #2D2CCD #5B5ADC #8D8CE7 #BFBFF1
Accessibility & contrast
On white
5.33
#5B5ADC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#5B5ADC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5ADC
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5ADC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5ADC | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b5adc; /* rgb */ color: rgb(91, 90, 220); /* oklch */ color: oklch(54.3% 0.193 278.1);
Tailwind
colors: {
custom: {
50: '#9589e8',
500: '#5b5adc',
950: '#000000',
},
}SCSS
$custom: #5b5adc; $custom-light: #9589e8; $custom-dark: #000000;
JSON
{
"hex": "#5b5adc",
"rgb": {
"r": 91,
"g": 90,
"b": 220
},
"hsl": {
"h": 240.462,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.54315,
"c": 0.19328,
"h": 278.1
},
"luminance": 0.14704
}Semantic roles & 50–950 ramp
primary
#5B5ADC
secondary
#E1E2B0
accent
#CD19CB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84