#6864E7#6864E7
#6864E7 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.8% C 0.193 H 279.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #6864E7 |
|---|---|
| RGB | rgb(104, 100, 231) |
| HSL | hsl(242, 73%, 65%) |
| HSV | hsv(242, 57%, 91%) |
| CMYK | cmyk(55%, 56.7%, 0%, 9.4%) |
| CIE-LAB | lab(49.28, 37.62, -66.19) |
| CIE-LCH | lch(49.28, 76.13, 299.61°) |
| OKLab | oklab(57.8% 0.033 -0.1897) |
| OKLCH | oklch(57.8% 0.193 279.9) |
| XYZ | xyz(24.6854, 17.8253, 77.7257) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.55
Mediumslateblue
#7B68EE
ΔE00 3.56
Light Indigo
#6D5ACF
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 5.00
Warm Blue
#4B57DB
ΔE00 5.92
Iris
#6258C4
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6864E7 #E3E764
analogous
#64A2E7 #6864E7 #A964E7
triadic
#6864E7 #E76864 #64E768
tetradic
#6864E7 #E764A2 #E3E764 #64E7A9
square
#6864E7 #E764A2 #E3E764 #64E7A9
split-complementary
#6864E7 #E7A964 #A2E764
monochromatic
#211CB5 #342FDF #6864E7 #9C99EF #CFCEF7
Accessibility & contrast
On white
4.60
#6864E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#6864E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6864E7
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6864E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6864E7 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#28839C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6864e7; /* rgb */ color: rgb(104, 100, 231); /* oklch */ color: oklch(57.8% 0.193 279.9);
Tailwind
colors: {
custom: {
50: '#9d90ef',
500: '#6864e7',
950: '#000000',
},
}SCSS
$custom: #6864e7; $custom-light: #9d90ef; $custom-dark: #000000;
JSON
{
"hex": "#6864e7",
"rgb": {
"r": 104,
"g": 100,
"b": 231
},
"hsl": {
"h": 241.832,
"s": 73.184,
"l": 64.902
},
"oklch": {
"l": 0.57802,
"c": 0.19257,
"h": 279.9
},
"luminance": 0.17827
}Semantic roles & 50–950 ramp
primary
#6864E7
secondary
#E8EABD
accent
#D510CF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85