#5656BF#5656BF
#5656BF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.161 H 279.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5656BF |
|---|---|
| RGB | rgb(86, 86, 191) |
| HSL | hsl(240, 45%, 54%) |
| HSV | hsv(240, 55%, 75%) |
| CMYK | cmyk(55%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(41.84, 30.00, -55.40) |
| CIE-LCH | lch(41.84, 63.00, 298.44°) |
| OKLab | oklab(51.06% 0.0253 -0.1586) |
| OKLCH | oklch(51.06% 0.161 279.1) |
| XYZ | xyz(16.5666, 12.3945, 50.7995) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.28
Warm Blue
#4B57DB
ΔE00 4.05
Slate Blue
#6A5ACD
ΔE00 4.15
Dark Periwinkle
#665FD1
ΔE00 4.48
Light Indigo
#6D5ACF
ΔE00 4.76
Ocean Blue
#4F42B5
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656BF #BFBF56
analogous
#568BBF #5656BF #8B56BF
triadic
#5656BF #BF5656 #56BF56
tetradic
#5656BF #BF568B #BFBF56 #56BF8B
square
#5656BF #BF568B #BFBF56 #56BF8B
split-complementary
#5656BF #BF8B56 #8BBF56
monochromatic
#2A2A70 #3B3B9D #5656BF #8282D0 #AFAFE1
Accessibility & contrast
On white
6.04
#5656BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#5656BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656BF
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656BF | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#236E82
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5656bf; /* rgb */ color: rgb(86, 86, 191); /* oklch */ color: oklch(51.1% 0.161 279.1);
Tailwind
colors: {
custom: {
50: '#8e85d3',
500: '#5656bf',
950: '#000000',
},
}SCSS
$custom: #5656bf; $custom-light: #8e85d3; $custom-dark: #000000;
JSON
{
"hex": "#5656bf",
"rgb": {
"r": 86,
"g": 86,
"b": 191
},
"hsl": {
"h": 240,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.51058,
"c": 0.16059,
"h": 279.1
},
"luminance": 0.12396
}Semantic roles & 50–950 ramp
primary
#5656BF
secondary
#CFCFA2
accent
#D553D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83