#5656C9#5656C9
#5656C9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.174 H 278.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5656C9 |
|---|---|
| RGB | rgb(86, 86, 201) |
| HSL | hsl(240, 52%, 56%) |
| HSV | hsv(240, 57%, 79%) |
| CMYK | cmyk(57.2%, 57.2%, 0%, 21.2%) |
| CIE-LAB | lab(42.54, 33.24, -60.07) |
| CIE-LCH | lch(42.54, 68.66, 298.96°) |
| OKLab | oklab(51.8% 0.0255 -0.1723) |
| OKLCH | oklch(51.8% 0.174 278.4) |
| XYZ | xyz(17.7048, 12.8498, 56.7943) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.23
Warm Blue
#4B57DB
ΔE00 2.76
Slate Blue
#6A5ACD
ΔE00 3.60
Dark Periwinkle
#665FD1
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656C9 #C9C956
analogous
#5690C9 #5656C9 #9056C9
triadic
#5656C9 #C95656 #56C956
tetradic
#5656C9 #C95690 #C9C956 #56C990
square
#5656C9 #C95690 #C9C956 #56C990
split-complementary
#5656C9 #C99056 #90C956
monochromatic
#28287D #3737AB #5656C9 #8484D8 #B3B3E7
Accessibility & contrast
On white
5.88
#5656C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5656C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656C9
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656C9 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#107187
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5656c9; /* rgb */ color: rgb(86, 86, 201); /* oklch */ color: oklch(51.8% 0.174 278.4);
Tailwind
colors: {
custom: {
50: '#9085da',
500: '#5656c9',
950: '#000000',
},
}SCSS
$custom: #5656c9; $custom-light: #9085da; $custom-dark: #000000;
JSON
{
"hex": "#5656c9",
"rgb": {
"r": 86,
"g": 86,
"b": 201
},
"hsl": {
"h": 240,
"s": 51.57,
"l": 56.275
},
"oklch": {
"l": 0.518,
"c": 0.1742,
"h": 278.4
},
"luminance": 0.12851
}Semantic roles & 50–950 ramp
primary
#5656C9
secondary
#D5D5A6
accent
#DB4DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83