#5656B2#5656B2
#5656B2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.142 H 280.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5656B2 |
|---|---|
| RGB | rgb(86, 86, 178) |
| HSL | hsl(240, 37%, 52%) |
| HSV | hsv(240, 52%, 70%) |
| CMYK | cmyk(51.7%, 51.7%, 0%, 30.2%) |
| CIE-LAB | lab(40.97, 25.82, -49.18) |
| CIE-LCH | lch(40.97, 55.55, 297.70°) |
| OKLab | oklab(50.14% 0.0246 -0.1403) |
| OKLCH | oklch(50.14% 0.142 280) |
| XYZ | xyz(15.1989, 11.8475, 43.5968) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.47
Slate Blue
#6A5ACD
ΔE00 5.42
Dark Periwinkle
#665FD1
ΔE00 5.83
Warm Blue
#4B57DB
ΔE00 5.96
Light Indigo
#6D5ACF
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5656B2 #B2B256
analogous
#5684B2 #5656B2 #8456B2
triadic
#5656B2 #B25656 #56B256
tetradic
#5656B2 #B25684 #B2B256 #56B284
square
#5656B2 #B25684 #B2B256 #56B284
split-complementary
#5656B2 #B28456 #84B256
monochromatic
#2C2C61 #3F3F8B #5656B2 #8080C5 #AAAAD8
Accessibility & contrast
On white
6.23
#5656B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#5656B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5656B2
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5656B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5656B2 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#306A7C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5656b2; /* rgb */ color: rgb(86, 86, 178); /* oklch */ color: oklch(50.1% 0.142 280.0);
Tailwind
colors: {
custom: {
50: '#8c85ca',
500: '#5656b2',
950: '#000000',
},
}SCSS
$custom: #5656b2; $custom-light: #8c85ca; $custom-dark: #000000;
JSON
{
"hex": "#5656b2",
"rgb": {
"r": 86,
"g": 86,
"b": 178
},
"hsl": {
"h": 240,
"s": 37.398,
"l": 51.765
},
"oklch": {
"l": 0.50136,
"c": 0.14243,
"h": 280
},
"luminance": 0.11848
}Semantic roles & 50–950 ramp
primary
#5656B2
secondary
#C6C69E
accent
#CD5ACD
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82