#6A5DEB#6A5DEB
#6A5DEB is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 57.1% C 0.206 H 281.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5DEB |
|---|---|
| RGB | rgb(106, 93, 235) |
| HSL | hsl(245, 78%, 64%) |
| HSV | hsv(245, 60%, 92%) |
| CMYK | cmyk(54.9%, 60.4%, 0%, 7.8%) |
| CIE-LAB | lab(48.12, 43.33, -70.32) |
| CIE-LCH | lch(48.12, 82.60, 301.64°) |
| OKLab | oklab(57.07% 0.0421 -0.2018) |
| OKLCH | oklch(57.07% 0.206 281.8) |
| XYZ | xyz(24.8490, 16.8895, 80.5318) |
| Luminance | 0.1689 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.69
Light Indigo
#6D5ACF
ΔE00 4.11
Mediumslateblue
#7B68EE
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.34
Purpley
#8756E4
ΔE00 5.40
Warm Blue
#4B57DB
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5DEB #DEEB5D
analogous
#5D97EB #6A5DEB #B15DEB
triadic
#6A5DEB #EB6A5D #5DEB6A
tetradic
#6A5DEB #EB5D97 #DEEB5D #5DEBB1
square
#6A5DEB #EB5D97 #DEEB5D #5DEBB1
split-complementary
#6A5DEB #EBB15D #97EB5D
monochromatic
#2517B7 #3827E4 #6A5DEB #9C93F2 #CECAF8
Accessibility & contrast
On white
4.80
#6A5DEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#6A5DEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5DEB
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5DEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5DEB | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#2B7F9B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6a5deb; /* rgb */ color: rgb(106, 93, 235); /* oklch */ color: oklch(57.1% 0.206 281.8);
Tailwind
colors: {
custom: {
50: '#9f8bf2',
500: '#6a5deb',
950: '#000000',
},
}SCSS
$custom: #6a5deb; $custom-light: #9f8bf2; $custom-dark: #000000;
JSON
{
"hex": "#6a5deb",
"rgb": {
"r": 106,
"g": 93,
"b": 235
},
"hsl": {
"h": 245.493,
"s": 78.022,
"l": 64.314
},
"oklch": {
"l": 0.57072,
"c": 0.2062,
"h": 281.8
},
"luminance": 0.16891
}Semantic roles & 50–950 ramp
primary
#6A5DEB
secondary
#E6EBB9
accent
#DA0BC7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85