#6A66EC#6A66EC
#6A66EC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.7% C 0.196 H 279.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #6A66EC |
|---|---|
| RGB | rgb(106, 102, 236) |
| HSL | hsl(242, 78%, 66%) |
| HSV | hsv(242, 57%, 93%) |
| CMYK | cmyk(55.1%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(50.24, 38.35, -67.44) |
| CIE-LCH | lch(50.24, 77.58, 299.62°) |
| OKLab | oklab(58.66% 0.0334 -0.1933) |
| OKLCH | oklch(58.66% 0.196 279.8) |
| XYZ | xyz(25.8308, 18.6214, 81.5738) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.93
Dark Periwinkle
#665FD1
ΔE00 4.52
Light Indigo
#6D5ACF
ΔE00 5.77
Slate Blue
#6A5ACD
ΔE00 5.93
Cornflower
#6A79F7
ΔE00 6.33
Royal Blue
#4169E1
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A66EC #E8EC66
analogous
#66A5EC #6A66EC #AD66EC
triadic
#6A66EC #EC6A66 #66EC6A
tetradic
#6A66EC #EC66A5 #E8EC66 #66ECAD
square
#6A66EC #EC66A5 #E8EC66 #66ECAD
split-complementary
#6A66EC #ECAD66 #A5EC66
monochromatic
#1D18C0 #3530E5 #6A66EC #9F9CF3 #D4D3FA
Accessibility & contrast
On white
4.44
#6A66EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#6A66EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6A66EC
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A66EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6A66EC | 1.00 | 4.44 | 4.72 | 4.72 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#28859F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #6a66ec; /* rgb */ color: rgb(106, 102, 236); /* oklch */ color: oklch(58.7% 0.196 279.8);
Tailwind
colors: {
custom: {
50: '#9f92f3',
500: '#6a66ec',
950: '#000000',
},
}SCSS
$custom: #6a66ec; $custom-light: #9f92f3; $custom-dark: #000000;
JSON
{
"hex": "#6a66ec",
"rgb": {
"r": 106,
"g": 102,
"b": 236
},
"hsl": {
"h": 241.791,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.58658,
"c": 0.19619,
"h": 279.8
},
"luminance": 0.18623
}Semantic roles & 50–950 ramp
primary
#6A66EC
secondary
#EBEDC1
accent
#DA0BD4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D17
muted
#7F7D85