#5656CF#5656CF
#5656CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.182 H 278.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5656CF |
|---|---|
| RGB | rgb(86, 86, 207) |
| HSL | hsl(240, 56%, 57%) |
| HSV | hsv(240, 58%, 81%) |
| CMYK | cmyk(58.5%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(42.97, 35.19, -62.83) |
| CIE-LCH | lch(42.97, 72.01, 299.25°) |
| OKLab | oklab(52.26% 0.0255 -0.1804) |
| OKLCH | oklch(52.26% 0.182 278) |
| XYZ | xyz(18.4244, 13.1377, 60.5843) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.13
Iris
#6258C4
ΔE00 2.58
Slate Blue
#6A5ACD
ΔE00 3.50
Dark Periwinkle
#665FD1
ΔE00 3.59
Light Indigo
#6D5ACF
ΔE00 4.00
Bluey Purple
#6241C7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656CF #CFCF56
analogous
#5693CF #5656CF #9356CF
triadic
#5656CF #CF5656 #56CF56
tetradic
#5656CF #CF5693 #CFCF56 #56CF93
square
#5656CF #CF5693 #CFCF56 #56CF93
split-complementary
#5656CF #CF9356 #93CF56
monochromatic
#262685 #3333B5 #5656CF #8686DD #B5B5EA
Accessibility & contrast
On white
5.79
#5656CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5656CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656CF
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656CF | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5656cf; /* rgb */ color: rgb(86, 86, 207); /* oklch */ color: oklch(52.3% 0.182 278.0);
Tailwind
colors: {
custom: {
50: '#9186de',
500: '#5656cf',
950: '#000000',
},
}SCSS
$custom: #5656cf; $custom-light: #9186de; $custom-dark: #000000;
JSON
{
"hex": "#5656cf",
"rgb": {
"r": 86,
"g": 86,
"b": 207
},
"hsl": {
"h": 240,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.52259,
"c": 0.18222,
"h": 278
},
"luminance": 0.13139
}Semantic roles & 50–950 ramp
primary
#5656CF
secondary
#D9D9A8
accent
#DF49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83