#6C71F8#6C71F8
#6C71F8 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.198 H 277.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6C71F8 |
|---|---|
| RGB | rgb(108, 113, 248) |
| HSL | hsl(238, 91%, 70%) |
| HSV | hsv(238, 56%, 97%) |
| CMYK | cmyk(56.5%, 54.4%, 0%, 2.7%) |
| CIE-LAB | lab(53.79, 35.91, -68.39) |
| CIE-LCH | lch(53.79, 77.24, 297.70°) |
| OKLab | oklab(61.59% 0.0251 -0.196) |
| OKLCH | oklch(61.59% 0.198 277.3) |
| XYZ | xyz(29.0273, 21.7737, 91.4619) |
| Luminance | 0.2178 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.65
Mediumslateblue
#7B68EE
ΔE00 4.23
Cornflower Blue
#5170D7
ΔE00 6.64
Periwinkle (survey)
#8E82FE
ΔE00 6.98
Lightish Blue
#3D7AFD
ΔE00 7.30
Royal Blue
#4169E1
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C71F8 #F8F36C
analogous
#6CB7F8 #6C71F8 #AD6CF8
triadic
#6C71F8 #F86C71 #71F86C
tetradic
#6C71F8 #F86CB7 #F8F36C #6CF8AD
square
#6C71F8 #F86CB7 #F8F36C #6CF8AD
split-complementary
#6C71F8 #F8AD6C #B7F86C
monochromatic
#0B12DF #3239F5 #6C71F8 #A6A9FB #E1E2FE
Accessibility & contrast
On white
3.92
#6C71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#6C71F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6C71F8
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C71F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6C71F8 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E86FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#1690AA
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #6c71f8; /* rgb */ color: rgb(108, 113, 248); /* oklch */ color: oklch(61.6% 0.198 277.3);
Tailwind
colors: {
custom: {
50: '#a199fb',
500: '#6c71f8',
950: '#000000',
},
}SCSS
$custom: #6c71f8; $custom-light: #a199fb; $custom-dark: #000000;
JSON
{
"hex": "#6c71f8",
"rgb": {
"r": 108,
"g": 113,
"b": 248
},
"hsl": {
"h": 237.857,
"s": 90.909,
"l": 69.804
},
"oklch": {
"l": 0.61586,
"c": 0.19759,
"h": 277.3
},
"luminance": 0.21776
}Semantic roles & 50–950 ramp
primary
#6C71F8
secondary
#F4F2CC
accent
#DD00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85