#6B5DF2#6B5DF2
#6B5DF2 is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.7% C 0.215 H 281.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5DF2 |
|---|---|
| RGB | rgb(107, 93, 242) |
| HSL | hsl(246, 85%, 66%) |
| HSV | hsv(246, 62%, 95%) |
| CMYK | cmyk(55.8%, 61.6%, 0%, 5.1%) |
| CIE-LAB | lab(48.71, 45.63, -73.27) |
| CIE-LCH | lch(48.71, 86.32, 301.91°) |
| OKLab | oklab(57.69% 0.0429 -0.2105) |
| OKLCH | oklch(57.69% 0.215 281.5) |
| XYZ | xyz(25.9998, 17.3636, 85.9687) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.99
Dark Periwinkle
#665FD1
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 4.98
Slate Blue
#6A5ACD
ΔE00 5.25
Purpley
#8756E4
ΔE00 5.43
Warm Blue
#4B57DB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5DF2 #E4F25D
analogous
#5D99F2 #6B5DF2 #B65DF2
triadic
#6B5DF2 #F26B5D #5DF26B
tetradic
#6B5DF2 #F25D99 #E4F25D #5DF2B6
square
#6B5DF2 #F25D99 #E4F25D #5DF2B6
split-complementary
#6B5DF2 #F2B65D #99F25D
monochromatic
#2110C5 #3724ED #6B5DF2 #9F96F7 #D3CEFB
Accessibility & contrast
On white
4.69
#6B5DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#6B5DF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5DF2
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5DF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5DF2 | 1.00 | 4.69 | 4.47 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#24829F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6b5df2; /* rgb */ color: rgb(107, 93, 242); /* oklch */ color: oklch(57.7% 0.215 281.5);
Tailwind
colors: {
custom: {
50: '#a18cf7',
500: '#6b5df2',
950: '#000000',
},
}SCSS
$custom: #6b5df2; $custom-light: #a18cf7; $custom-dark: #000000;
JSON
{
"hex": "#6b5df2",
"rgb": {
"r": 107,
"g": 93,
"b": 242
},
"hsl": {
"h": 245.638,
"s": 85.143,
"l": 65.686
},
"oklch": {
"l": 0.57689,
"c": 0.21484,
"h": 281.5
},
"luminance": 0.17365
}Semantic roles & 50–950 ramp
primary
#6B5DF2
secondary
#EAEEBD
accent
#E204CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85