#5656BA#5656BA
#5656BA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.154 H 279.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5656BA |
|---|---|
| RGB | rgb(86, 86, 186) |
| HSL | hsl(240, 42%, 53%) |
| HSV | hsv(240, 54%, 73%) |
| CMYK | cmyk(53.8%, 53.8%, 0%, 27.1%) |
| CIE-LAB | lab(41.50, 28.39, -53.03) |
| CIE-LCH | lch(41.50, 60.15, 298.16°) |
| OKLab | oklab(50.7% 0.0251 -0.1516) |
| OKLCH | oklch(50.7% 0.154 279.4) |
| XYZ | xyz(16.0257, 12.1782, 47.9510) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.62
Slate Blue
#6A5ACD
ΔE00 4.58
Warm Blue
#4B57DB
ΔE00 4.76
Dark Periwinkle
#665FD1
ΔE00 4.95
Light Indigo
#6D5ACF
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656BA #BABA56
analogous
#5688BA #5656BA #8856BA
triadic
#5656BA #BA5656 #56BA56
tetradic
#5656BA #BA5688 #BABA56 #56BA88
square
#5656BA #BA5688 #BABA56 #56BA88
split-complementary
#5656BA #BA8856 #88BA56
monochromatic
#2B2B6A #3D3D96 #5656BA #8181CC #ADADDD
Accessibility & contrast
On white
6.11
#5656BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5656BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656BA
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656BA | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#085EB8
Tritanopia (blue-blind)
#296D7F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5656ba; /* rgb */ color: rgb(86, 86, 186); /* oklch */ color: oklch(50.7% 0.154 279.4);
Tailwind
colors: {
custom: {
50: '#8d85cf',
500: '#5656ba',
950: '#000000',
},
}SCSS
$custom: #5656ba; $custom-light: #8d85cf; $custom-dark: #000000;
JSON
{
"hex": "#5656ba",
"rgb": {
"r": 86,
"g": 86,
"b": 186
},
"hsl": {
"h": 240,
"s": 42.017,
"l": 53.333
},
"oklch": {
"l": 0.50697,
"c": 0.15367,
"h": 279.4
},
"luminance": 0.12179
}Semantic roles & 50–950 ramp
primary
#5656BA
secondary
#CBCBA0
accent
#D256D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82