#5656C2#5656C2
#5656C2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.165 H 278.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5656C2 |
|---|---|
| RGB | rgb(86, 86, 194) |
| HSL | hsl(240, 47%, 55%) |
| HSV | hsv(240, 56%, 76%) |
| CMYK | cmyk(55.7%, 55.7%, 0%, 23.9%) |
| CIE-LAB | lab(42.04, 30.97, -56.81) |
| CIE-LCH | lch(42.04, 64.71, 298.60°) |
| OKLab | oklab(51.28% 0.0254 -0.1627) |
| OKLCH | oklch(51.28% 0.165 278.9) |
| XYZ | xyz(16.9001, 12.5279, 52.5561) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.17
Warm Blue
#4B57DB
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 3.94
Dark Periwinkle
#665FD1
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 4.54
Ocean Blue
#4F42B5
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656C2 #C2C256
analogous
#568CC2 #5656C2 #8C56C2
triadic
#5656C2 #C25656 #56C256
tetradic
#5656C2 #C2568C #C2C256 #56C28C
square
#5656C2 #C2568C #C2C256 #56C28C
split-complementary
#5656C2 #C28C56 #8CC256
monochromatic
#2A2A74 #3A3AA1 #5656C2 #8383D2 #B0B0E2
Accessibility & contrast
On white
5.99
#5656C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#5656C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656C2
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656C2 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0568C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#1E6F83
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5656c2; /* rgb */ color: rgb(86, 86, 194); /* oklch */ color: oklch(51.3% 0.165 278.9);
Tailwind
colors: {
custom: {
50: '#8f85d5',
500: '#5656c2',
950: '#000000',
},
}SCSS
$custom: #5656c2; $custom-light: #8f85d5; $custom-dark: #000000;
JSON
{
"hex": "#5656c2",
"rgb": {
"r": 86,
"g": 86,
"b": 194
},
"hsl": {
"h": 240,
"s": 46.957,
"l": 54.902
},
"oklch": {
"l": 0.51278,
"c": 0.1647,
"h": 278.9
},
"luminance": 0.12529
}Semantic roles & 50–950 ramp
primary
#5656C2
secondary
#D1D1A3
accent
#D751D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83