#6B5BF2#6B5BF2
#6B5BF2 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.4% C 0.217 H 281.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5BF2 |
|---|---|
| RGB | rgb(107, 91, 242) |
| HSL | hsl(246, 85%, 65%) |
| HSV | hsv(246, 62%, 95%) |
| CMYK | cmyk(55.8%, 62.4%, 0%, 5.1%) |
| CIE-LAB | lab(48.28, 46.78, -73.98) |
| CIE-LCH | lch(48.28, 87.53, 302.30°) |
| OKLab | oklab(57.37% 0.0447 -0.2126) |
| OKLCH | oklch(57.37% 0.217 281.9) |
| XYZ | xyz(25.8265, 17.0171, 85.9109) |
| Luminance | 0.1702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.43
Dark Periwinkle
#665FD1
ΔE00 4.66
Light Indigo
#6D5ACF
ΔE00 4.83
Slate Blue
#6A5ACD
ΔE00 5.11
Purpley
#8756E4
ΔE00 5.22
Warm Blue
#4B57DB
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5BF2 #E2F25B
analogous
#5B96F2 #6B5BF2 #B75BF2
triadic
#6B5BF2 #F26B5B #5BF26B
tetradic
#6B5BF2 #F25B96 #E2F25B #5BF2B7
square
#6B5BF2 #F25B96 #E2F25B #5BF2B7
split-complementary
#6B5BF2 #F2B75B #96F25B
monochromatic
#230FC3 #3822EE #6B5BF2 #9E94F6 #D1CCFB
Accessibility & contrast
On white
4.77
#6B5BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#6B5BF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5BF2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5BF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5BF2 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#24809E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6b5bf2; /* rgb */ color: rgb(107, 91, 242); /* oklch */ color: oklch(57.4% 0.217 281.9);
Tailwind
colors: {
custom: {
50: '#a18af7',
500: '#6b5bf2',
950: '#000000',
},
}SCSS
$custom: #6b5bf2; $custom-light: #a18af7; $custom-dark: #000000;
JSON
{
"hex": "#6b5bf2",
"rgb": {
"r": 107,
"g": 91,
"b": 242
},
"hsl": {
"h": 246.358,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.57373,
"c": 0.21725,
"h": 281.9
},
"luminance": 0.17019
}Semantic roles & 50–950 ramp
primary
#6B5BF2
secondary
#E8EEBB
accent
#E204CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85