#5656C8#5656C8
#5656C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.173 H 278.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5656C8 |
|---|---|
| RGB | rgb(86, 86, 200) |
| HSL | hsl(240, 51%, 56%) |
| HSV | hsv(240, 57%, 78%) |
| CMYK | cmyk(57%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(42.46, 32.92, -59.61) |
| CIE-LCH | lch(42.46, 68.09, 298.91°) |
| OKLab | oklab(51.73% 0.0255 -0.171) |
| OKLCH | oklch(51.73% 0.173 278.5) |
| XYZ | xyz(17.5876, 12.8029, 56.1768) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.19
Warm Blue
#4B57DB
ΔE00 2.88
Slate Blue
#6A5ACD
ΔE00 3.63
Dark Periwinkle
#665FD1
ΔE00 3.85
Light Indigo
#6D5ACF
ΔE00 4.21
Ocean Blue
#4F42B5
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656C8 #C8C856
analogous
#568FC8 #5656C8 #8F56C8
triadic
#5656C8 #C85656 #56C856
tetradic
#5656C8 #C8568F #C8C856 #56C88F
square
#5656C8 #C8568F #C8C856 #56C88F
split-complementary
#5656C8 #C88F56 #8FC856
monochromatic
#28287B #3737AA #5656C8 #8484D7 #B2B2E6
Accessibility & contrast
On white
5.90
#5656C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5656C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656C8
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656C8 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#137186
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5656c8; /* rgb */ color: rgb(86, 86, 200); /* oklch */ color: oklch(51.7% 0.173 278.5);
Tailwind
colors: {
custom: {
50: '#9085d9',
500: '#5656c8',
950: '#000000',
},
}SCSS
$custom: #5656c8; $custom-light: #9085d9; $custom-dark: #000000;
JSON
{
"hex": "#5656c8",
"rgb": {
"r": 86,
"g": 86,
"b": 200
},
"hsl": {
"h": 240,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.51725,
"c": 0.17285,
"h": 278.5
},
"luminance": 0.12804
}Semantic roles & 50–950 ramp
primary
#5656C8
secondary
#D4D4A5
accent
#DA4DDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83