#6873E2#6873E2
#6873E2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.166 H 275.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6873E2 |
|---|---|
| RGB | rgb(104, 115, 226) |
| HSL | hsl(235, 68%, 65%) |
| HSV | hsv(235, 54%, 89%) |
| CMYK | cmyk(54%, 49.1%, 0%, 11.4%) |
| CIE-LAB | lab(52.61, 27.00, -58.00) |
| CIE-LCH | lch(52.61, 63.98, 294.96°) |
| OKLab | oklab(60.19% 0.0172 -0.1655) |
| OKLCH | oklch(60.19% 0.166 275.9) |
| XYZ | xyz(25.5627, 20.6938, 74.5840) |
| Luminance | 0.2070 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.37
Cornflower Blue
#5170D7
ΔE00 4.32
Mediumslateblue
#7B68EE
ΔE00 5.55
Royal Blue
#4169E1
ΔE00 6.06
Lightish Blue
#3D7AFD
ΔE00 6.84
Dark Periwinkle
#665FD1
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6873E2 #E2D768
analogous
#68B0E2 #6873E2 #9A68E2
triadic
#6873E2 #E26873 #73E268
tetradic
#6873E2 #E268B0 #E2D768 #68E29A
square
#6873E2 #E268B0 #E2D768 #68E29A
split-complementary
#6873E2 #E29A68 #B0E268
monochromatic
#212EAE #3543D8 #6873E2 #9BA3EC #CFD2F6
Accessibility & contrast
On white
4.09
#6873E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#6873E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6873E2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6873E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6873E2 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C83E6
Deuteranopia (green-blind)
#2C79E0
Tritanopia (blue-blind)
#2C8CA0
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #6873e2; /* rgb */ color: rgb(104, 115, 226); /* oklch */ color: oklch(60.2% 0.166 275.9);
Tailwind
colors: {
custom: {
50: '#9c9bec',
500: '#6873e2',
950: '#000000',
},
}SCSS
$custom: #6873e2; $custom-light: #9c9bec; $custom-dark: #000000;
JSON
{
"hex": "#6873e2",
"rgb": {
"r": 104,
"g": 115,
"b": 226
},
"hsl": {
"h": 234.59,
"s": 67.778,
"l": 64.706
},
"oklch": {
"l": 0.6019,
"c": 0.16642,
"h": 275.9
},
"luminance": 0.20696
}Semantic roles & 50–950 ramp
primary
#6873E2
secondary
#E8E4BE
accent
#BF16D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84