#5A6CDC#5A6CDC
#5A6CDC is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.5% C 0.171 H 273.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6CDC |
|---|---|
| RGB | rgb(90, 108, 220) |
| HSL | hsl(232, 65%, 61%) |
| HSV | hsv(232, 59%, 86%) |
| CMYK | cmyk(59.1%, 50.9%, 0%, 13.7%) |
| CIE-LAB | lab(49.57, 26.62, -59.55) |
| CIE-LCH | lch(49.57, 65.23, 294.09°) |
| OKLab | oklab(57.55% 0.0089 -0.1705) |
| OKLCH | oklch(57.55% 0.171 273) |
| XYZ | xyz(22.4930, 18.0643, 69.9977) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.53
Royal Blue
#4169E1
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 5.47
Cornflower
#6A79F7
ΔE00 6.00
Bright Blue
#0165FC
ΔE00 6.09
Azul
#1D5DEC
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6CDC #DCCA5A
analogous
#5AADDC #5A6CDC #895ADC
triadic
#5A6CDC #DC5A6C #6CDC5A
tetradic
#5A6CDC #DC5AAD #DCCA5A #5ADC89
square
#5A6CDC #DC5AAD #DCCA5A #5ADC89
split-complementary
#5A6CDC #DC895A #ADDC5A
monochromatic
#21329B #2C42CD #5A6CDC #8C99E7 #BFC6F1
Accessibility & contrast
On white
4.55
#5A6CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#5A6CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A6CDC
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A6CDC | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#0B70DA
Tritanopia (blue-blind)
#00869A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #5a6cdc; /* rgb */ color: rgb(90, 108, 220); /* oklch */ color: oklch(57.5% 0.171 273.0);
Tailwind
colors: {
custom: {
50: '#9495e7',
500: '#5a6cdc',
950: '#000000',
},
}SCSS
$custom: #5a6cdc; $custom-light: #9495e7; $custom-dark: #000000;
JSON
{
"hex": "#5a6cdc",
"rgb": {
"r": 90,
"g": 108,
"b": 220
},
"hsl": {
"h": 231.692,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.57545,
"c": 0.17072,
"h": 273
},
"luminance": 0.18066
}Semantic roles & 50–950 ramp
primary
#5A6CDC
secondary
#E2DBB0
accent
#B419CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84