#6877F1#6877F1
#6877F1 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.182 H 274.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #6877F1 |
|---|---|
| RGB | rgb(104, 119, 241) |
| HSL | hsl(233, 83%, 68%) |
| HSV | hsv(233, 57%, 95%) |
| CMYK | cmyk(56.8%, 50.6%, 0%, 5.5%) |
| CIE-LAB | lab(54.54, 29.35, -63.30) |
| CIE-LCH | lch(54.54, 69.77, 294.88°) |
| OKLab | oklab(61.94% 0.0144 -0.1811) |
| OKLCH | oklch(61.94% 0.182 274.5) |
| XYZ | xyz(28.1778, 22.4855, 86.0573) |
| Luminance | 0.2249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.03
Cornflower Blue
#5170D7
ΔE00 5.61
Lightish Blue
#3D7AFD
ΔE00 5.66
Soft Blue
#6488EA
ΔE00 6.15
Mediumslateblue
#7B68EE
ΔE00 6.24
Periwinkle (survey)
#8E82FE
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6877F1 #F1E268
analogous
#68BBF1 #6877F1 #9E68F1
triadic
#6877F1 #F16877 #77F168
tetradic
#6877F1 #F168BB #F1E268 #68F19E
square
#6877F1 #F168BB #F1E268 #68F19E
split-complementary
#6877F1 #F19E68 #BBF168
monochromatic
#1327CC #3045EC #6877F1 #A0A9F6 #D8DCFB
Accessibility & contrast
On white
3.82
#6877F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#6877F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6877F1
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6877F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6877F1 | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3588F5
Deuteranopia (green-blind)
#187DEE
Tritanopia (blue-blind)
#0893A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #6877f1; /* rgb */ color: rgb(104, 119, 241); /* oklch */ color: oklch(61.9% 0.182 274.5);
Tailwind
colors: {
custom: {
50: '#9e9ef6',
500: '#6877f1',
950: '#000000',
},
}SCSS
$custom: #6877f1; $custom-light: #9e9ef6; $custom-dark: #000000;
JSON
{
"hex": "#6877f1",
"rgb": {
"r": 104,
"g": 119,
"b": 241
},
"hsl": {
"h": 233.431,
"s": 83.03,
"l": 67.647
},
"oklch": {
"l": 0.61939,
"c": 0.18163,
"h": 274.5
},
"luminance": 0.22488
}Semantic roles & 50–950 ramp
primary
#6877F1
secondary
#F0EBC5
accent
#C806DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85