#6A6FF1#6A6FF1
#6A6FF1 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.6% C 0.191 H 277.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6A6FF1 |
|---|---|
| RGB | rgb(106, 111, 241) |
| HSL | hsl(238, 83%, 68%) |
| HSV | hsv(238, 56%, 95%) |
| CMYK | cmyk(56%, 53.9%, 0%, 5.5%) |
| CIE-LAB | lab(52.71, 34.54, -66.24) |
| CIE-LCH | lch(52.71, 74.70, 297.54°) |
| OKLab | oklab(60.6% 0.0246 -0.1897) |
| OKLCH | oklch(60.6% 0.191 277.4) |
| XYZ | xyz(27.5004, 20.7820, 85.7642) |
| Luminance | 0.2078 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.34
Mediumslateblue
#7B68EE
ΔE00 3.88
Cornflower Blue
#5170D7
ΔE00 5.88
Royal Blue
#4169E1
ΔE00 6.68
Dark Periwinkle
#665FD1
ΔE00 6.99
Lightish Blue
#3D7AFD
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A6FF1 #F1EC6A
analogous
#6AB2F1 #6A6FF1 #A86AF1
triadic
#6A6FF1 #F16A6F #6FF16A
tetradic
#6A6FF1 #F16AB2 #F1EC6A #6AF1A8
square
#6A6FF1 #F16AB2 #F1EC6A #6AF1A8
split-complementary
#6A6FF1 #F1A86A #B2F16A
monochromatic
#131ACD #3239EC #6A6FF1 #A2A5F6 #DADBFC
Accessibility & contrast
On white
4.07
#6A6FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#6A6FF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6A6FF1
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A6FF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6A6FF1 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1883F5
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#1C8DA5
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #6a6ff1; /* rgb */ color: rgb(106, 111, 241); /* oklch */ color: oklch(60.6% 0.191 277.4);
Tailwind
colors: {
custom: {
50: '#9f98f6',
500: '#6a6ff1',
950: '#000000',
},
}SCSS
$custom: #6a6ff1; $custom-light: #9f98f6; $custom-dark: #000000;
JSON
{
"hex": "#6a6ff1",
"rgb": {
"r": 106,
"g": 111,
"b": 241
},
"hsl": {
"h": 237.778,
"s": 82.822,
"l": 68.039
},
"oklch": {
"l": 0.60601,
"c": 0.19133,
"h": 277.4
},
"luminance": 0.20784
}Semantic roles & 50–950 ramp
primary
#6A6FF1
secondary
#F0EFC7
accent
#D706DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85