#6754DB#6754DB
#6754DB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 54.1% C 0.198 H 284.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6754DB |
|---|---|
| RGB | rgb(103, 84, 219) |
| HSL | hsl(248, 65%, 59%) |
| HSV | hsv(248, 62%, 86%) |
| CMYK | cmyk(53%, 61.6%, 0%, 14.1%) |
| CIE-LAB | lab(44.71, 43.18, -66.81) |
| CIE-LCH | lch(44.71, 79.54, 302.87°) |
| OKLab | oklab(54.15% 0.0479 -0.1916) |
| OKLCH | oklch(54.15% 0.198 284) |
| XYZ | xyz(21.5462, 14.3375, 68.6362) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.52
Slate Blue
#6A5ACD
ΔE00 2.59
Dark Periwinkle
#665FD1
ΔE00 3.55
Iris
#6258C4
ΔE00 3.60
Warm Blue
#4B57DB
ΔE00 4.37
Purpleish Blue
#6140EF
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6754DB #C8DB54
analogous
#5485DB #6754DB #AA54DB
triadic
#6754DB #DB6754 #54DB67
tetradic
#6754DB #DB5485 #C8DB54 #54DBAA
square
#6754DB #DB5485 #C8DB54 #54DBAA
split-complementary
#6754DB #DBAA54 #85DB54
monochromatic
#301F95 #402AC8 #6754DB #9487E6 #C1B9F0
Accessibility & contrast
On white
5.43
#6754DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#6754DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6754DB
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6754DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6754DB | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#367590
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6754db; /* rgb */ color: rgb(103, 84, 219); /* oklch */ color: oklch(54.1% 0.198 284.0);
Tailwind
colors: {
custom: {
50: '#9c85e7',
500: '#6754db',
950: '#000000',
},
}SCSS
$custom: #6754db; $custom-light: #9c85e7; $custom-dark: #000000;
JSON
{
"hex": "#6754db",
"rgb": {
"r": 103,
"g": 84,
"b": 219
},
"hsl": {
"h": 248.444,
"s": 65.217,
"l": 59.412
},
"oklch": {
"l": 0.54149,
"c": 0.19755,
"h": 284
},
"luminance": 0.14339
}Semantic roles & 50–950 ramp
primary
#6754DB
secondary
#D8E0AB
accent
#E840D0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84