#5656BB#5656BB
#5656BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.155 H 279.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5656BB |
|---|---|
| RGB | rgb(86, 86, 187) |
| HSL | hsl(240, 43%, 54%) |
| HSV | hsv(240, 54%, 73%) |
| CMYK | cmyk(54%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(41.57, 28.71, -53.51) |
| CIE-LCH | lch(41.57, 60.72, 298.22°) |
| OKLab | oklab(50.77% 0.0252 -0.153) |
| OKLCH | oklch(50.77% 0.155 279.3) |
| XYZ | xyz(16.1324, 12.2209, 48.5129) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.54
Slate Blue
#6A5ACD
ΔE00 4.49
Warm Blue
#4B57DB
ΔE00 4.61
Dark Periwinkle
#665FD1
ΔE00 4.85
Light Indigo
#6D5ACF
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656BB #BBBB56
analogous
#5688BB #5656BB #8856BB
triadic
#5656BB #BB5656 #56BB56
tetradic
#5656BB #BB5688 #BBBB56 #56BB88
square
#5656BB #BB5688 #BBBB56 #56BB88
split-complementary
#5656BB #BB8856 #88BB56
monochromatic
#2B2B6B #3D3D97 #5656BB #8282CD #ADADDE
Accessibility & contrast
On white
6.10
#5656BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5656BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656BB
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656BB | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#035EB9
Tritanopia (blue-blind)
#286D80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5656bb; /* rgb */ color: rgb(86, 86, 187); /* oklch */ color: oklch(50.8% 0.155 279.3);
Tailwind
colors: {
custom: {
50: '#8e85d0',
500: '#5656bb',
950: '#000000',
},
}SCSS
$custom: #5656bb; $custom-light: #8e85d0; $custom-dark: #000000;
JSON
{
"hex": "#5656bb",
"rgb": {
"r": 86,
"g": 86,
"b": 187
},
"hsl": {
"h": 240,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.50769,
"c": 0.15507,
"h": 279.3
},
"luminance": 0.12222
}Semantic roles & 50–950 ramp
primary
#5656BB
secondary
#CCCCA1
accent
#D255D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82