#5A6BDC#5A6BDC
#5A6BDC is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.172 H 273.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6BDC |
|---|---|
| RGB | rgb(90, 107, 220) |
| HSL | hsl(232, 65%, 61%) |
| HSV | hsv(232, 59%, 86%) |
| CMYK | cmyk(59.1%, 51.4%, 0%, 13.7%) |
| CIE-LAB | lab(49.32, 27.24, -59.96) |
| CIE-LCH | lch(49.32, 65.86, 294.43°) |
| OKLab | oklab(57.35% 0.0099 -0.1717) |
| OKLCH | oklch(57.35% 0.172 273.3) |
| XYZ | xyz(22.3882, 17.8546, 69.9628) |
| Luminance | 0.1786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.80
Royal Blue
#4169E1
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 5.15
Bright Blue
#0165FC
ΔE00 6.06
Cornflower
#6A79F7
ΔE00 6.23
Azul
#1D5DEC
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6BDC #DCCB5A
analogous
#5AACDC #5A6BDC #8A5ADC
triadic
#5A6BDC #DC5A6B #6BDC5A
tetradic
#5A6BDC #DC5AAC #DCCB5A #5ADC8A
square
#5A6BDC #DC5AAC #DCCB5A #5ADC8A
split-complementary
#5A6BDC #DC8A5A #ACDC5A
monochromatic
#21319B #2C41CD #5A6BDC #8C98E7 #BFC6F1
Accessibility & contrast
On white
4.59
#5A6BDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#5A6BDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5A6BDC
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6BDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A6BDC | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B7BE0
Deuteranopia (green-blind)
#0370DA
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #5a6bdc; /* rgb */ color: rgb(90, 107, 220); /* oklch */ color: oklch(57.4% 0.172 273.3);
Tailwind
colors: {
custom: {
50: '#9495e8',
500: '#5a6bdc',
950: '#000000',
},
}SCSS
$custom: #5a6bdc; $custom-light: #9495e8; $custom-dark: #000000;
JSON
{
"hex": "#5a6bdc",
"rgb": {
"r": 90,
"g": 107,
"b": 220
},
"hsl": {
"h": 232.154,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.57353,
"c": 0.172,
"h": 273.3
},
"luminance": 0.17856
}Semantic roles & 50–950 ramp
primary
#5A6BDC
secondary
#E2DBB0
accent
#B519CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84