#6B5FEB#6B5FEB
#6B5FEB is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.5% C 0.204 H 281.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5FEB |
|---|---|
| RGB | rgb(107, 95, 235) |
| HSL | hsl(245, 78%, 65%) |
| HSV | hsv(245, 60%, 92%) |
| CMYK | cmyk(54.5%, 59.6%, 0%, 7.8%) |
| CIE-LAB | lab(48.64, 42.34, -69.46) |
| CIE-LCH | lch(48.64, 81.35, 301.37°) |
| OKLab | oklab(57.48% 0.0414 -0.1993) |
| OKLCH | oklch(57.48% 0.204 281.7) |
| XYZ | xyz(25.1464, 17.3068, 80.5966) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.73
Mediumslateblue
#7B68EE
ΔE00 3.74
Light Indigo
#6D5ACF
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.57
Purpley
#8756E4
ΔE00 5.53
Warm Blue
#4B57DB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5FEB #DFEB5F
analogous
#5F99EB #6B5FEB #B15FEB
triadic
#6B5FEB #EB6B5F #5FEB6B
tetradic
#6B5FEB #EB5F99 #DFEB5F #5FEBB1
square
#6B5FEB #EB5F99 #DFEB5F #5FEBB1
split-complementary
#6B5FEB #EBB15F #99EB5F
monochromatic
#2517B9 #3929E4 #6B5FEB #9D95F2 #D0CCF9
Accessibility & contrast
On white
4.71
#6B5FEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#6B5FEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5FEB
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5FEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5FEB | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#2E809C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6b5feb; /* rgb */ color: rgb(107, 95, 235); /* oklch */ color: oklch(57.5% 0.204 281.7);
Tailwind
colors: {
custom: {
50: '#a08df2',
500: '#6b5feb',
950: '#000000',
},
}SCSS
$custom: #6b5feb; $custom-light: #a08df2; $custom-dark: #000000;
JSON
{
"hex": "#6b5feb",
"rgb": {
"r": 107,
"g": 95,
"b": 235
},
"hsl": {
"h": 245.143,
"s": 77.778,
"l": 64.706
},
"oklch": {
"l": 0.57476,
"c": 0.20356,
"h": 281.7
},
"luminance": 0.17308
}Semantic roles & 50–950 ramp
primary
#6B5FEB
secondary
#E7EBBB
accent
#DA0BC8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85