#6A6AEF#6A6AEF
#6A6AEF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.6% C 0.195 H 278.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6A6AEF |
|---|---|
| RGB | rgb(106, 106, 239) |
| HSL | hsl(240, 81%, 68%) |
| HSV | hsv(240, 56%, 94%) |
| CMYK | cmyk(55.6%, 55.6%, 0%, 6.3%) |
| CIE-LAB | lab(51.38, 36.90, -67.27) |
| CIE-LCH | lch(51.38, 76.72, 298.75°) |
| OKLab | oklab(59.57% 0.0295 -0.1928) |
| OKLCH | oklch(59.57% 0.195 278.7) |
| XYZ | xyz(26.6730, 19.6024, 84.0227) |
| Luminance | 0.1960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.02
Cornflower
#6A79F7
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 5.62
Cornflower Blue
#5170D7
ΔE00 6.29
Royal Blue
#4169E1
ΔE00 6.56
Light Indigo
#6D5ACF
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A6AEF #EFEF6A
analogous
#6AACEF #6A6AEF #AC6AEF
triadic
#6A6AEF #EF6A6A #6AEF6A
tetradic
#6A6AEF #EF6AAC #EFEF6A #6AEFAC
square
#6A6AEF #EF6AAC #EFEF6A #6AEFAC
split-complementary
#6A6AEF #EFAC6A #ACEF6A
monochromatic
#1616C9 #3333E9 #6A6AEF #A1A1F5 #D9D9FB
Accessibility & contrast
On white
4.27
#6A6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#6A6AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6A6AEF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A6AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6A6AEF | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#2189A2
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #6a6aef; /* rgb */ color: rgb(106, 106, 239); /* oklch */ color: oklch(59.6% 0.195 278.7);
Tailwind
colors: {
custom: {
50: '#9f94f5',
500: '#6a6aef',
950: '#000000',
},
}SCSS
$custom: #6a6aef; $custom-light: #9f94f5; $custom-dark: #000000;
JSON
{
"hex": "#6a6aef",
"rgb": {
"r": 106,
"g": 106,
"b": 239
},
"hsl": {
"h": 240,
"s": 80.606,
"l": 67.647
},
"oklch": {
"l": 0.59571,
"c": 0.19504,
"h": 278.7
},
"luminance": 0.19604
}Semantic roles & 50–950 ramp
primary
#6A6AEF
secondary
#EFEFC6
accent
#DD09DD
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85