#6B5CD8#6B5CD8
#6B5CD8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.6% C 0.183 H 284.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5CD8 |
|---|---|
| RGB | rgb(107, 92, 216) |
| HSL | hsl(247, 61%, 60%) |
| HSV | hsv(247, 57%, 85%) |
| CMYK | cmyk(50.5%, 57.4%, 0%, 15.3%) |
| CIE-LAB | lab(46.63, 38.35, -61.98) |
| CIE-LCH | lch(46.63, 72.89, 301.75°) |
| OKLab | oklab(55.57% 0.0449 -0.1773) |
| OKLCH | oklch(55.57% 0.183 284.2) |
| XYZ | xyz(22.2815, 15.7368, 66.8159) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.55
Dark Periwinkle
#665FD1
ΔE00 1.69
Slate Blue
#6A5ACD
ΔE00 1.74
Iris
#6258C4
ΔE00 3.48
Warm Blue
#4B57DB
ΔE00 4.91
Purpley
#8756E4
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5CD8 #C9D85C
analogous
#5C8BD8 #6B5CD8 #A95CD8
triadic
#6B5CD8 #D86B5C #5CD86B
tetradic
#6B5CD8 #D85C8B #C9D85C #5CD8A9
square
#6B5CD8 #D85C8B #C9D85C #5CD8A9
split-complementary
#6B5CD8 #D8A95C #8BD85C
monochromatic
#322496 #4230C7 #6B5CD8 #988DE4 #C5BFF0
Accessibility & contrast
On white
5.06
#6B5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#6B5CD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5CD8
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5CD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5CD8 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#417891
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6b5cd8; /* rgb */ color: rgb(107, 92, 216); /* oklch */ color: oklch(55.6% 0.183 284.2);
Tailwind
colors: {
custom: {
50: '#9d8ae5',
500: '#6b5cd8',
950: '#000000',
},
}SCSS
$custom: #6b5cd8; $custom-light: #9d8ae5; $custom-dark: #000000;
JSON
{
"hex": "#6b5cd8",
"rgb": {
"r": 107,
"g": 92,
"b": 216
},
"hsl": {
"h": 247.258,
"s": 61.386,
"l": 60.392
},
"oklch": {
"l": 0.55569,
"c": 0.18291,
"h": 284.2
},
"luminance": 0.15738
}Semantic roles & 50–950 ramp
primary
#6B5CD8
secondary
#DAE0B0
accent
#C91CB4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84