#6B5BEF#6B5BEF
#6B5BEF is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.214 H 282.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5BEF |
|---|---|
| RGB | rgb(107, 91, 239) |
| HSL | hsl(246, 82%, 65%) |
| HSV | hsv(246, 62%, 94%) |
| CMYK | cmyk(55.2%, 61.9%, 0%, 6.3%) |
| CIE-LAB | lab(48.06, 45.87, -72.67) |
| CIE-LCH | lch(48.06, 85.93, 302.26°) |
| OKLab | oklab(57.14% 0.045 -0.2087) |
| OKLCH | oklch(57.14% 0.214 282.2) |
| XYZ | xyz(25.3797, 16.8384, 83.5574) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.30
Light Indigo
#6D5ACF
ΔE00 4.45
Mediumslateblue
#7B68EE
ΔE00 4.49
Slate Blue
#6A5ACD
ΔE00 4.73
Purpley
#8756E4
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5BEF #DFEF5B
analogous
#5B95EF #6B5BEF #B55BEF
triadic
#6B5BEF #EF6B5B #5BEF6B
tetradic
#6B5BEF #EF5B95 #DFEF5B #5BEFB5
square
#6B5BEF #EF5B95 #DFEF5B #5BEFB5
split-complementary
#6B5BEF #EFB55B #95EF5B
monochromatic
#2512BD #3923EA #6B5BEF #9D93F4 #D0CBFA
Accessibility & contrast
On white
4.81
#6B5BEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#6B5BEF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5BEF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5BEF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5BEF | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#297F9D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6b5bef; /* rgb */ color: rgb(107, 91, 239); /* oklch */ color: oklch(57.1% 0.214 282.2);
Tailwind
colors: {
custom: {
50: '#a08af5',
500: '#6b5bef',
950: '#000000',
},
}SCSS
$custom: #6b5bef; $custom-light: #a08af5; $custom-dark: #000000;
JSON
{
"hex": "#6b5bef",
"rgb": {
"r": 107,
"g": 91,
"b": 239
},
"hsl": {
"h": 246.486,
"s": 82.222,
"l": 64.706
},
"oklch": {
"l": 0.57137,
"c": 0.21352,
"h": 282.2
},
"luminance": 0.1684
}Semantic roles & 50–950 ramp
primary
#6B5BEF
secondary
#E7ECBA
accent
#DF07C7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85