#6A5CBF#6A5CBF
#6A5CBF is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.150 H 286.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5CBF |
|---|---|
| RGB | rgb(106, 92, 191) |
| HSL | hsl(248, 44%, 55%) |
| HSV | hsv(248, 52%, 75%) |
| CMYK | cmyk(44.5%, 51.8%, 0%, 25.1%) |
| CIE-LAB | lab(44.91, 30.68, -50.37) |
| CIE-LCH | lch(44.91, 58.97, 301.35°) |
| OKLab | oklab(53.75% 0.043 -0.1432) |
| OKLCH | oklch(53.75% 0.15 286.7) |
| XYZ | xyz(19.1723, 14.4793, 51.0647) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.10
Slate Blue
#6A5ACD
ΔE00 2.29
Light Indigo
#6D5ACF
ΔE00 2.61
Dark Periwinkle
#665FD1
ΔE00 3.14
Warm Blue
#4B57DB
ΔE00 6.40
Royal Purple
#7851A9
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5CBF #B1BF5C
analogous
#5C7FBF #6A5CBF #9B5CBF
triadic
#6A5CBF #BF6A5C #5CBF6A
tetradic
#6A5CBF #BF5C7F #B1BF5C #5CBF9B
square
#6A5CBF #BF5C7F #B1BF5C #5CBF9B
split-complementary
#6A5CBF #BF9B5C #7FBF5C
monochromatic
#372D73 #4C3F9F #6A5CBF #9288D0 #BAB4E2
Accessibility & contrast
On white
5.39
#6A5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#6A5CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5CBF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5CBF | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6DC2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#507185
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6a5cbf; /* rgb */ color: rgb(106, 92, 191); /* oklch */ color: oklch(53.8% 0.150 286.7);
Tailwind
colors: {
custom: {
50: '#9a8ad3',
500: '#6a5cbf',
950: '#000000',
},
}SCSS
$custom: #6a5cbf; $custom-light: #9a8ad3; $custom-dark: #000000;
JSON
{
"hex": "#6a5cbf",
"rgb": {
"r": 106,
"g": 92,
"b": 191
},
"hsl": {
"h": 248.485,
"s": 43.612,
"l": 55.49
},
"oklch": {
"l": 0.53754,
"c": 0.14951,
"h": 286.7
},
"luminance": 0.1448
}Semantic roles & 50–950 ramp
primary
#6A5CBF
secondary
#CAD0A7
accent
#D354C1
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83