#6A5FCB#6A5FCB
#6A5FCB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.1% C 0.162 H 284.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5FCB |
|---|---|
| RGB | rgb(106, 95, 203) |
| HSL | hsl(246, 51%, 58%) |
| HSV | hsv(246, 53%, 80%) |
| CMYK | cmyk(47.8%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(46.39, 32.44, -54.92) |
| CIE-LCH | lch(46.39, 63.79, 300.57°) |
| OKLab | oklab(55.1% 0.0401 -0.1566) |
| OKLCH | oklch(55.1% 0.162 284.4) |
| XYZ | xyz(20.8124, 15.5594, 58.3950) |
| Luminance | 0.1556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.20
Slate Blue
#6A5ACD
ΔE00 1.61
Light Indigo
#6D5ACF
ΔE00 1.83
Iris
#6258C4
ΔE00 2.65
Warm Blue
#4B57DB
ΔE00 5.48
Mediumslateblue
#7B68EE
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5FCB #C0CB5F
analogous
#5F8ACB #6A5FCB #A05FCB
triadic
#6A5FCB #CB6A5F #5FCB6A
tetradic
#6A5FCB #CB5F8A #C0CB5F #5FCBA0
square
#6A5FCB #CB5F8A #C0CB5F #5FCBA0
split-complementary
#6A5FCB #CBA05F #8ACB5F
monochromatic
#342B85 #463AB3 #6A5FCB #958DDA #C0BBE9
Accessibility & contrast
On white
5.11
#6A5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#6A5FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5FCB
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5FCB | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#216BC9
Tritanopia (blue-blind)
#48778C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6a5fcb; /* rgb */ color: rgb(106, 95, 203); /* oklch */ color: oklch(55.1% 0.162 284.4);
Tailwind
colors: {
custom: {
50: '#9b8cdb',
500: '#6a5fcb',
950: '#000000',
},
}SCSS
$custom: #6a5fcb; $custom-light: #9b8cdb; $custom-dark: #000000;
JSON
{
"hex": "#6a5fcb",
"rgb": {
"r": 106,
"g": 95,
"b": 203
},
"hsl": {
"h": 246.111,
"s": 50.943,
"l": 58.431
},
"oklch": {
"l": 0.55099,
"c": 0.16162,
"h": 284.4
},
"luminance": 0.1556
}Semantic roles & 50–950 ramp
primary
#6A5FCB
secondary
#D4D8AD
accent
#DA4DCC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83