#6A6FF5#6A6FF5
#6A6FF5 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.9% C 0.197 H 277.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6A6FF5 |
|---|---|
| RGB | rgb(106, 111, 245) |
| HSL | hsl(238, 87%, 69%) |
| HSV | hsv(238, 57%, 96%) |
| CMYK | cmyk(56.7%, 54.7%, 0%, 3.9%) |
| CIE-LAB | lab(52.98, 35.80, -68.04) |
| CIE-LCH | lch(52.98, 76.88, 297.75°) |
| OKLab | oklab(60.88% 0.0247 -0.195) |
| OKLCH | oklch(60.88% 0.197 277.2) |
| XYZ | xyz(28.1045, 21.0236, 88.9455) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.23
Mediumslateblue
#7B68EE
ΔE00 3.92
Cornflower Blue
#5170D7
ΔE00 6.22
Royal Blue
#4169E1
ΔE00 6.92
Dark Periwinkle
#665FD1
ΔE00 7.36
Lightish Blue
#3D7AFD
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A6FF5 #F5F06A
analogous
#6AB5F5 #6A6FF5 #AB6AF5
triadic
#6A6FF5 #F56A6F #6FF56A
tetradic
#6A6FF5 #F56AB5 #F5F06A #6AF5AB
square
#6A6FF5 #F56AB5 #F5F06A #6AF5AB
split-complementary
#6A6FF5 #F5AB6A #B5F56A
monochromatic
#0E16D6 #3138F1 #6A6FF5 #A3A6F9 #DDDEFD
Accessibility & contrast
On white
4.03
#6A6FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#6A6FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6A6FF5
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A6FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6A6FF5 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0784FA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#118EA7
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #6a6ff5; /* rgb */ color: rgb(106, 111, 245); /* oklch */ color: oklch(60.9% 0.197 277.2);
Tailwind
colors: {
custom: {
50: '#a098f9',
500: '#6a6ff5',
950: '#000000',
},
}SCSS
$custom: #6a6ff5; $custom-light: #a098f9; $custom-dark: #000000;
JSON
{
"hex": "#6a6ff5",
"rgb": {
"r": 106,
"g": 111,
"b": 245
},
"hsl": {
"h": 237.842,
"s": 87.421,
"l": 68.824
},
"oklch": {
"l": 0.60884,
"c": 0.19659,
"h": 277.2
},
"luminance": 0.21026
}Semantic roles & 50–950 ramp
primary
#6A6FF5
secondary
#F2F0C9
accent
#DC02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85