#6B56DC#6B56DC
#6B56DC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.9% C 0.196 H 285.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6B56DC |
|---|---|
| RGB | rgb(107, 86, 220) |
| HSL | hsl(249, 66%, 60%) |
| HSV | hsv(249, 61%, 86%) |
| CMYK | cmyk(51.4%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(45.56, 43.06, -65.98) |
| CIE-LCH | lch(45.56, 78.79, 303.13°) |
| OKLab | oklab(54.87% 0.051 -0.1891) |
| OKLCH | oklch(54.87% 0.196 285.1) |
| XYZ | xyz(22.3056, 14.9475, 69.4061) |
| Luminance | 0.1495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.14
Slate Blue
#6A5ACD
ΔE00 2.38
Dark Periwinkle
#665FD1
ΔE00 3.26
Iris
#6258C4
ΔE00 3.83
Warm Blue
#4B57DB
ΔE00 4.89
Purpley
#8756E4
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B56DC #C7DC56
analogous
#5684DC #6B56DC #AE56DC
triadic
#6B56DC #DC6B56 #56DC6B
tetradic
#6B56DC #DC5684 #C7DC56 #56DCAE
square
#6B56DC #DC5684 #C7DC56 #56DCAE
split-complementary
#6B56DC #DCAE56 #84DC56
monochromatic
#322098 #432ACB #6B56DC #9789E6 #C4BBF1
Accessibility & contrast
On white
5.26
#6B56DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#6B56DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B56DC
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B56DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B56DC | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#3F7691
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6b56dc; /* rgb */ color: rgb(107, 86, 220); /* oklch */ color: oklch(54.9% 0.196 285.1);
Tailwind
colors: {
custom: {
50: '#9e86e8',
500: '#6b56dc',
950: '#000000',
},
}SCSS
$custom: #6b56dc; $custom-light: #9e86e8; $custom-dark: #000000;
JSON
{
"hex": "#6b56dc",
"rgb": {
"r": 107,
"g": 86,
"b": 220
},
"hsl": {
"h": 249.403,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.54875,
"c": 0.19586,
"h": 285.1
},
"luminance": 0.14949
}Semantic roles & 50–950 ramp
primary
#6B56DC
secondary
#D9E1AD
accent
#E93FCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84