#6873EF#6873EF
#6873EF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.1% C 0.184 H 275.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #6873EF |
|---|---|
| RGB | rgb(104, 115, 239) |
| HSL | hsl(235, 81%, 67%) |
| HSV | hsv(235, 56%, 94%) |
| CMYK | cmyk(56.5%, 51.9%, 0%, 6.3%) |
| CIE-LAB | lab(53.42, 31.13, -63.98) |
| CIE-LCH | lch(53.42, 71.15, 295.94°) |
| OKLab | oklab(61.06% 0.0183 -0.1831) |
| OKLCH | oklch(61.06% 0.184 275.7) |
| XYZ | xyz(27.4146, 21.4346, 84.3373) |
| Luminance | 0.2144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.19
Mediumslateblue
#7B68EE
ΔE00 5.14
Cornflower Blue
#5170D7
ΔE00 5.28
Lightish Blue
#3D7AFD
ΔE00 6.39
Royal Blue
#4169E1
ΔE00 6.56
Soft Blue
#6488EA
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6873EF #EFE468
analogous
#68B7EF #6873EF #A168EF
triadic
#6873EF #EF6873 #73EF68
tetradic
#6873EF #EF68B7 #EFE468 #68EFA1
square
#6873EF #EF68B7 #EFE468 #68EFA1
split-complementary
#6873EF #EFA168 #B7EF68
monochromatic
#1524C7 #3140E9 #6873EF #9FA6F5 #D7DAFB
Accessibility & contrast
On white
3.97
#6873EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#6873EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6873EF
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6873EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6873EF | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C85F3
Deuteranopia (green-blind)
#057AEC
Tritanopia (blue-blind)
#138FA6
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #6873ef; /* rgb */ color: rgb(104, 115, 239); /* oklch */ color: oklch(61.1% 0.184 275.7);
Tailwind
colors: {
custom: {
50: '#9d9bf5',
500: '#6873ef',
950: '#000000',
},
}SCSS
$custom: #6873ef; $custom-light: #9d9bf5; $custom-dark: #000000;
JSON
{
"hex": "#6873ef",
"rgb": {
"r": 104,
"g": 115,
"b": 239
},
"hsl": {
"h": 235.111,
"s": 80.838,
"l": 67.255
},
"oklch": {
"l": 0.61059,
"c": 0.18402,
"h": 275.7
},
"luminance": 0.21437
}Semantic roles & 50–950 ramp
primary
#6873EF
secondary
#EFEBC4
accent
#CC08DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85