#6556B2#6556B2
#6556B2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.141 H 287.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6556B2 |
|---|---|
| RGB | rgb(101, 86, 178) |
| HSL | hsl(250, 37%, 52%) |
| HSV | hsv(250, 52%, 70%) |
| CMYK | cmyk(43.3%, 51.7%, 0%, 30.2%) |
| CIE-LAB | lab(42.21, 29.30, -47.13) |
| CIE-LCH | lch(42.21, 55.50, 301.87°) |
| OKLab | oklab(51.37% 0.0432 -0.1338) |
| OKLCH | oklch(51.37% 0.141 287.9) |
| XYZ | xyz(16.7282, 12.6360, 43.6684) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 4.41
Light Indigo
#6D5ACF
ΔE00 4.77
Royal Purple
#7851A9
ΔE00 5.33
Dark Periwinkle
#665FD1
ΔE00 5.58
Ocean Blue
#4F42B5
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6556B2 #A3B256
analogous
#5675B2 #6556B2 #9356B2
triadic
#6556B2 #B26556 #56B265
tetradic
#6556B2 #B25675 #A3B256 #56B293
square
#6556B2 #B25675 #A3B256 #56B293
split-complementary
#6556B2 #B29356 #75B256
monochromatic
#352C61 #4C3F8B #6556B2 #8B80C5 #B2AAD8
Accessibility & contrast
On white
5.95
#6556B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#6556B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6556B2
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6556B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6556B2 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#2D61B0
Tritanopia (blue-blind)
#4E697C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6556b2; /* rgb */ color: rgb(101, 86, 178); /* oklch */ color: oklch(51.4% 0.141 287.9);
Tailwind
colors: {
custom: {
50: '#9586c9',
500: '#6556b2',
950: '#000000',
},
}SCSS
$custom: #6556b2; $custom-light: #9586c9; $custom-dark: #000000;
JSON
{
"hex": "#6556b2",
"rgb": {
"r": 101,
"g": 86,
"b": 178
},
"hsl": {
"h": 249.783,
"s": 37.398,
"l": 51.765
},
"oklch": {
"l": 0.5137,
"c": 0.14065,
"h": 287.9
},
"luminance": 0.12637
}Semantic roles & 50–950 ramp
primary
#6556B2
secondary
#C0C69E
accent
#CD5ABB
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82