#6B5FDD#6B5FDD
#6B5FDD is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.4% C 0.185 H 283.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5FDD |
|---|---|
| RGB | rgb(107, 95, 221) |
| HSL | hsl(246, 65%, 62%) |
| HSV | hsv(246, 57%, 87%) |
| CMYK | cmyk(51.6%, 57%, 0%, 13.3%) |
| CIE-LAB | lab(47.66, 38.09, -63.15) |
| CIE-LCH | lch(47.66, 73.75, 301.10°) |
| OKLab | oklab(56.44% 0.0417 -0.1807) |
| OKLCH | oklch(56.44% 0.185 283) |
| XYZ | xyz(23.2028, 16.5294, 70.3605) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.94
Light Indigo
#6D5ACF
ΔE00 2.66
Slate Blue
#6A5ACD
ΔE00 2.83
Iris
#6258C4
ΔE00 4.45
Mediumslateblue
#7B68EE
ΔE00 4.60
Warm Blue
#4B57DB
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5FDD #D1DD5F
analogous
#5F92DD #6B5FDD #AA5FDD
triadic
#6B5FDD #DD6B5F #5FDD6B
tetradic
#6B5FDD #DD5F92 #D1DD5F #5FDDAA
square
#6B5FDD #DD5F92 #D1DD5F #5FDDAA
split-complementary
#6B5FDD #DDAA5F #92DD5F
monochromatic
#2E22A0 #3C2DD2 #6B5FDD #9A91E8 #C8C4F2
Accessibility & contrast
On white
4.88
#6B5FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#6B5FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5FDD
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5FDD | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#3D7C95
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6b5fdd; /* rgb */ color: rgb(107, 95, 221); /* oklch */ color: oklch(56.4% 0.185 283.0);
Tailwind
colors: {
custom: {
50: '#9e8de8',
500: '#6b5fdd',
950: '#000000',
},
}SCSS
$custom: #6b5fdd; $custom-light: #9e8de8; $custom-dark: #000000;
JSON
{
"hex": "#6b5fdd",
"rgb": {
"r": 107,
"g": 95,
"b": 221
},
"hsl": {
"h": 245.714,
"s": 64.948,
"l": 61.961
},
"oklch": {
"l": 0.56441,
"c": 0.18549,
"h": 283
},
"luminance": 0.16531
}Semantic roles & 50–950 ramp
primary
#6B5FDD
secondary
#DFE3B5
accent
#CD19BC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84