#6873F0#6873F0
#6873F0 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.1% C 0.185 H 275.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #6873F0 |
|---|---|
| RGB | rgb(104, 115, 240) |
| HSL | hsl(235, 82%, 67%) |
| HSV | hsv(235, 57%, 94%) |
| CMYK | cmyk(56.7%, 52.1%, 0%, 5.9%) |
| CIE-LAB | lab(53.49, 31.44, -64.44) |
| CIE-LCH | lch(53.49, 71.70, 296.01°) |
| OKLab | oklab(61.13% 0.0183 -0.1844) |
| OKLCH | oklch(61.13% 0.185 275.7) |
| XYZ | xyz(27.5628, 21.4938, 85.1175) |
| Luminance | 0.2150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.12
Mediumslateblue
#7B68EE
ΔE00 5.13
Cornflower Blue
#5170D7
ΔE00 5.37
Lightish Blue
#3D7AFD
ΔE00 6.38
Royal Blue
#4169E1
ΔE00 6.62
Soft Blue
#6488EA
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6873F0 #F0E568
analogous
#68B7F0 #6873F0 #A168F0
triadic
#6873F0 #F06873 #73F068
tetradic
#6873F0 #F068B7 #F0E568 #68F0A1
square
#6873F0 #F068B7 #F0E568 #68F0A1
split-complementary
#6873F0 #F0A168 #B7F068
monochromatic
#1423CA #303FEA #6873F0 #A0A7F6 #D7DAFB
Accessibility & contrast
On white
3.96
#6873F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#6873F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6873F0
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6873F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6873F0 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A86F4
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0F90A7
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #6873f0; /* rgb */ color: rgb(104, 115, 240); /* oklch */ color: oklch(61.1% 0.185 275.7);
Tailwind
colors: {
custom: {
50: '#9e9bf6',
500: '#6873f0',
950: '#000000',
},
}SCSS
$custom: #6873f0; $custom-light: #9e9bf6; $custom-dark: #000000;
JSON
{
"hex": "#6873f0",
"rgb": {
"r": 104,
"g": 115,
"b": 240
},
"hsl": {
"h": 235.147,
"s": 81.928,
"l": 67.451
},
"oklch": {
"l": 0.61127,
"c": 0.18536,
"h": 275.7
},
"luminance": 0.21496
}Semantic roles & 50–950 ramp
primary
#6873F0
secondary
#EFECC5
accent
#CD07DE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85