#6A6EF2#6A6EF2
#6A6EF2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.5% C 0.194 H 277.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6A6EF2 |
|---|---|
| RGB | rgb(106, 110, 242) |
| HSL | hsl(238, 84%, 68%) |
| HSV | hsv(238, 56%, 95%) |
| CMYK | cmyk(56.2%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(52.54, 35.45, -67.08) |
| CIE-LCH | lch(52.54, 75.87, 297.86°) |
| OKLab | oklab(60.49% 0.0256 -0.1922) |
| OKLCH | oklch(60.49% 0.194 277.6) |
| XYZ | xyz(27.5417, 20.6249, 86.5169) |
| Luminance | 0.2063 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.62
Mediumslateblue
#7B68EE
ΔE00 3.67
Cornflower Blue
#5170D7
ΔE00 6.04
Royal Blue
#4169E1
ΔE00 6.70
Dark Periwinkle
#665FD1
ΔE00 6.84
Lightish Blue
#3D7AFD
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A6EF2 #F2EE6A
analogous
#6AB2F2 #6A6EF2 #AA6AF2
triadic
#6A6EF2 #F26A6E #6EF26A
tetradic
#6A6EF2 #F26AB2 #F2EE6A #6AF2AA
square
#6A6EF2 #F26AB2 #F2EE6A #6AF2AA
split-complementary
#6A6EF2 #F2AA6A #B2F26A
monochromatic
#1218CF #3237ED #6A6EF2 #A2A5F7 #DBDCFC
Accessibility & contrast
On white
4.10
#6A6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#6A6EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6A6EF2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A6EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6A6EF2 | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D83F7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#1A8DA5
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #6a6ef2; /* rgb */ color: rgb(106, 110, 242); /* oklch */ color: oklch(60.5% 0.194 277.6);
Tailwind
colors: {
custom: {
50: '#9f97f7',
500: '#6a6ef2',
950: '#000000',
},
}SCSS
$custom: #6a6ef2; $custom-light: #9f97f7; $custom-dark: #000000;
JSON
{
"hex": "#6a6ef2",
"rgb": {
"r": 106,
"g": 110,
"b": 242
},
"hsl": {
"h": 238.235,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.60493,
"c": 0.19391,
"h": 277.6
},
"luminance": 0.20627
}Semantic roles & 50–950 ramp
primary
#6A6EF2
secondary
#F1EFC7
accent
#DA05E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85