#6854CE#6854CE
#6854CE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.2% C 0.181 H 286.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #6854CE |
|---|---|
| RGB | rgb(104, 84, 206) |
| HSL | hsl(250, 55%, 57%) |
| HSV | hsv(250, 59%, 81%) |
| CMYK | cmyk(49.5%, 59.2%, 0%, 19.2%) |
| CIE-LAB | lab(43.86, 39.48, -60.75) |
| CIE-LCH | lch(43.86, 72.45, 303.02°) |
| OKLab | oklab(53.25% 0.0499 -0.1738) |
| OKLCH | oklch(53.25% 0.181 286) |
| XYZ | xyz(20.0165, 13.7390, 59.9777) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.79
Light Indigo
#6D5ACF
ΔE00 1.92
Iris
#6258C4
ΔE00 2.26
Dark Periwinkle
#665FD1
ΔE00 3.49
Warm Blue
#4B57DB
ΔE00 4.92
Bluey Purple
#6241C7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6854CE #BACE54
analogous
#547DCE #6854CE #A554CE
triadic
#6854CE #CE6854 #54CE68
tetradic
#6854CE #CE547D #BACE54 #54CEA5
square
#6854CE #CE547D #BACE54 #54CEA5
split-complementary
#6854CE #CEA554 #7DCE54
monochromatic
#352582 #4833B2 #6854CE #9284DC #BCB3E9
Accessibility & contrast
On white
5.60
#6854CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#6854CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6854CE
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6854CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6854CE | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#437089
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6854ce; /* rgb */ color: rgb(104, 84, 206); /* oklch */ color: oklch(53.2% 0.181 286.0);
Tailwind
colors: {
custom: {
50: '#9b85de',
500: '#6854ce',
950: '#000000',
},
}SCSS
$custom: #6854ce; $custom-light: #9b85de; $custom-dark: #000000;
JSON
{
"hex": "#6854ce",
"rgb": {
"r": 104,
"g": 84,
"b": 206
},
"hsl": {
"h": 249.836,
"s": 55.455,
"l": 56.863
},
"oklch": {
"l": 0.53245,
"c": 0.18082,
"h": 286
},
"luminance": 0.1374
}Semantic roles & 50–950 ramp
primary
#6854CE
secondary
#D0D8A6
accent
#DF49C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83