#5656AA#5656AA
#5656AA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.131 H 280.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5656AA |
|---|---|
| RGB | rgb(86, 86, 170) |
| HSL | hsl(240, 33%, 50%) |
| HSV | hsv(240, 49%, 67%) |
| CMYK | cmyk(49.4%, 49.4%, 0%, 33.3%) |
| CIE-LAB | lab(40.47, 23.27, -45.27) |
| CIE-LCH | lch(40.47, 50.90, 297.20°) |
| OKLab | oklab(49.59% 0.0239 -0.1288) |
| OKLCH | oklch(49.59% 0.131 280.5) |
| XYZ | xyz(14.4190, 11.5355, 39.4892) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.56
Twilight
#4E518B
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 6.43
Ocean Blue
#4F42B5
ΔE00 6.57
Dusky Blue
#475F94
ΔE00 6.61
Dark Periwinkle
#665FD1
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656AA #AAAA56
analogous
#5680AA #5656AA #8056AA
triadic
#5656AA #AA5656 #56AA56
tetradic
#5656AA #AA5680 #AAAA56 #56AA80
square
#5656AA #AA5680 #AAAA56 #56AA80
split-complementary
#5656AA #AA8056 #80AA56
monochromatic
#2D2D59 #414182 #5656AA #7F7FBE #A7A7D3
Accessibility & contrast
On white
6.35
#5656AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#5656AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656AA
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656AA | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#376878
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5656aa; /* rgb */ color: rgb(86, 86, 170); /* oklch */ color: oklch(49.6% 0.131 280.5);
Tailwind
colors: {
custom: {
50: '#8b85c4',
500: '#5656aa',
950: '#000000',
},
}SCSS
$custom: #5656aa; $custom-light: #8b85c4; $custom-dark: #000000;
JSON
{
"hex": "#5656aa",
"rgb": {
"r": 86,
"g": 86,
"b": 170
},
"hsl": {
"h": 240,
"s": 33.071,
"l": 50.196
},
"oklch": {
"l": 0.49594,
"c": 0.13099,
"h": 280.5
},
"luminance": 0.11536
}Semantic roles & 50–950 ramp
primary
#5656AA
secondary
#C1C19B
accent
#C95FC9
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82