#6B5BCA#6B5BCA
#6B5BCA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.166 H 286.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5BCA |
|---|---|
| RGB | rgb(107, 91, 202) |
| HSL | hsl(249, 51%, 57%) |
| HSV | hsv(249, 55%, 79%) |
| CMYK | cmyk(47%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(45.46, 34.77, -55.85) |
| CIE-LCH | lch(45.46, 65.78, 301.90°) |
| OKLab | oklab(54.4% 0.046 -0.1593) |
| OKLCH | oklch(54.4% 0.166 286.1) |
| XYZ | xyz(20.4620, 14.8713, 57.6580) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 0.58
Light Indigo
#6D5ACF
ΔE00 0.89
Iris
#6258C4
ΔE00 1.98
Dark Periwinkle
#665FD1
ΔE00 2.03
Warm Blue
#4B57DB
ΔE00 5.47
Purpley
#8756E4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5BCA #BACA5B
analogous
#5B82CA #6B5BCA #A35BCA
triadic
#6B5BCA #CA6B5B #5BCA6B
tetradic
#6B5BCA #CA5B82 #BACA5B #5BCAA3
square
#6B5BCA #CA5B82 #BACA5B #5BCAA3
split-complementary
#6B5BCA #CAA35B #82CA5B
monochromatic
#362A81 #4A39AF #6B5BCA #9589D9 #BEB8E8
Accessibility & contrast
On white
5.28
#6B5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#6B5BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5BCA
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5BCA | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#1868C8
Tritanopia (blue-blind)
#4B738A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6b5bca; /* rgb */ color: rgb(107, 91, 202); /* oklch */ color: oklch(54.4% 0.166 286.1);
Tailwind
colors: {
custom: {
50: '#9c8adb',
500: '#6b5bca',
950: '#000000',
},
}SCSS
$custom: #6b5bca; $custom-light: #9c8adb; $custom-dark: #000000;
JSON
{
"hex": "#6b5bca",
"rgb": {
"r": 107,
"g": 91,
"b": 202
},
"hsl": {
"h": 248.649,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.54404,
"c": 0.16577,
"h": 286.1
},
"luminance": 0.14872
}Semantic roles & 50–950 ramp
primary
#6B5BCA
secondary
#D0D7AA
accent
#DB4DC6
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0B15
muted
#7F7C83