#6A71F2#6A71F2
#6A71F2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.0% C 0.190 H 276.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6A71F2 |
|---|---|
| RGB | rgb(106, 113, 242) |
| HSL | hsl(237, 84%, 68%) |
| HSV | hsv(237, 56%, 95%) |
| CMYK | cmyk(56.2%, 53.3%, 0%, 5.1%) |
| CIE-LAB | lab(53.26, 33.65, -65.91) |
| CIE-LCH | lch(53.26, 74.01, 297.05°) |
| OKLab | oklab(61.03% 0.0226 -0.1888) |
| OKLCH | oklch(61.03% 0.19 276.8) |
| XYZ | xyz(27.8709, 21.2833, 86.6266) |
| Luminance | 0.2129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.67
Mediumslateblue
#7B68EE
ΔE00 4.36
Cornflower Blue
#5170D7
ΔE00 5.85
Royal Blue
#4169E1
ΔE00 6.84
Lightish Blue
#3D7AFD
ΔE00 7.05
Periwinkle (survey)
#8E82FE
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A71F2 #F2EB6A
analogous
#6AB5F2 #6A71F2 #A76AF2
triadic
#6A71F2 #F26A71 #71F26A
tetradic
#6A71F2 #F26AB5 #F2EB6A #6AF2A7
square
#6A71F2 #F26AB5 #F2EB6A #6AF2A7
split-complementary
#6A71F2 #F2A76A #B5F26A
monochromatic
#121CCF #323BED #6A71F2 #A2A7F7 #DBDCFC
Accessibility & contrast
On white
3.99
#6A71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#6A71F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6A71F2
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A71F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6A71F2 | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F85F6
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#198FA7
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #6a71f2; /* rgb */ color: rgb(106, 113, 242); /* oklch */ color: oklch(61.0% 0.190 276.8);
Tailwind
colors: {
custom: {
50: '#9f99f7',
500: '#6a71f2',
950: '#000000',
},
}SCSS
$custom: #6a71f2; $custom-light: #9f99f7; $custom-dark: #000000;
JSON
{
"hex": "#6a71f2",
"rgb": {
"r": 106,
"g": 113,
"b": 242
},
"hsl": {
"h": 236.912,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.61032,
"c": 0.19011,
"h": 276.8
},
"luminance": 0.21285
}Semantic roles & 50–950 ramp
primary
#6A71F2
secondary
#F1EEC7
accent
#D505E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85