#6B5BDB#6B5BDB
#6B5BDB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.6% C 0.188 H 284.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5BDB |
|---|---|
| RGB | rgb(107, 91, 219) |
| HSL | hsl(248, 64%, 61%) |
| HSV | hsv(248, 58%, 86%) |
| CMYK | cmyk(51.1%, 58.4%, 0%, 14.1%) |
| CIE-LAB | lab(46.61, 39.84, -63.72) |
| CIE-LCH | lch(46.61, 75.15, 302.02°) |
| OKLab | oklab(55.62% 0.046 -0.1824) |
| OKLCH | oklch(55.62% 0.188 284.1) |
| XYZ | xyz(22.5868, 15.7212, 68.8484) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.83
Slate Blue
#6A5ACD
ΔE00 2.06
Dark Periwinkle
#665FD1
ΔE00 2.12
Iris
#6258C4
ΔE00 3.77
Warm Blue
#4B57DB
ΔE00 4.86
Purpley
#8756E4
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5BDB #CBDB5B
analogous
#5B8BDB #6B5BDB #AB5BDB
triadic
#6B5BDB #DB6B5B #5BDB6B
tetradic
#6B5BDB #DB5B8B #CBDB5B #5BDBAB
square
#6B5BDB #DB5B8B #CBDB5B #5BDBAB
split-complementary
#6B5BDB #DBAB5B #8BDB5B
monochromatic
#31229A #412DCC #6B5BDB #988DE6 #C6BFF1
Accessibility & contrast
On white
5.07
#6B5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#6B5BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5BDB
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5BDB | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#3F7992
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6b5bdb; /* rgb */ color: rgb(107, 91, 219); /* oklch */ color: oklch(55.6% 0.188 284.1);
Tailwind
colors: {
custom: {
50: '#9e8ae7',
500: '#6b5bdb',
950: '#000000',
},
}SCSS
$custom: #6b5bdb; $custom-light: #9e8ae7; $custom-dark: #000000;
JSON
{
"hex": "#6b5bdb",
"rgb": {
"r": 107,
"g": 91,
"b": 219
},
"hsl": {
"h": 247.5,
"s": 64,
"l": 60.784
},
"oklch": {
"l": 0.55619,
"c": 0.18813,
"h": 284.1
},
"luminance": 0.15722
}Semantic roles & 50–950 ramp
primary
#6B5BDB
secondary
#DBE1B1
accent
#CC1AB6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84