#6879CC#6879CC
#6879CC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.128 H 273.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #6879CC |
|---|---|
| RGB | rgb(104, 121, 204) |
| HSL | hsl(230, 50%, 60%) |
| HSV | hsv(230, 49%, 80%) |
| CMYK | cmyk(49%, 40.7%, 0%, 20%) |
| CIE-LAB | lab(52.92, 16.48, -45.07) |
| CIE-LCH | lch(52.92, 47.99, 290.08°) |
| OKLab | oklab(60.02% 0.0072 -0.1275) |
| OKLCH | oklch(60.02% 0.128 273.2) |
| XYZ | xyz(23.4419, 20.9760, 59.9286) |
| Luminance | 0.2098 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.65
Cornflower
#6A79F7
ΔE00 5.75
Soft Blue
#6488EA
ΔE00 6.63
Royal Blue
#4169E1
ΔE00 7.36
Lightish Blue
#3D7AFD
ΔE00 7.56
Faded Blue
#658CBB
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6879CC #CCBB68
analogous
#68ABCC #6879CC #8968CC
triadic
#6879CC #CC6879 #79CC68
tetradic
#6879CC #CC68AB #CCBB68 #68CC89
square
#6879CC #CC68AB #CCBB68 #68CC89
split-complementary
#6879CC #CC8968 #ABCC68
monochromatic
#2F3E8B #3E53B8 #6879CC #96A2DB #C3CAEB
Accessibility & contrast
On white
4.04
#6879CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#6879CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6879CC
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6879CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6879CC | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5883CF
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#408B99
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #6879cc; /* rgb */ color: rgb(104, 121, 204); /* oklch */ color: oklch(60.0% 0.128 273.2);
Tailwind
colors: {
custom: {
50: '#999fdc',
500: '#6879cc',
950: '#000000',
},
}SCSS
$custom: #6879cc; $custom-light: #999fdc; $custom-dark: #000000;
JSON
{
"hex": "#6879cc",
"rgb": {
"r": 104,
"g": 121,
"b": 204
},
"hsl": {
"h": 229.8,
"s": 49.505,
"l": 60.392
},
"oklch": {
"l": 0.60024,
"c": 0.12774,
"h": 273.2
},
"luminance": 0.20977
}Semantic roles & 50–950 ramp
primary
#6879CC
secondary
#DBD5B5
accent
#A429BD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83