#6754C8#6754C8
#6754C8 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.173 H 286.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6754C8 |
|---|---|
| RGB | rgb(103, 84, 200) |
| HSL | hsl(250, 51%, 56%) |
| HSV | hsv(250, 58%, 78%) |
| CMYK | cmyk(48.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(43.35, 37.48, -58.11) |
| CIE-LCH | lch(43.35, 69.15, 302.82°) |
| OKLab | oklab(52.72% 0.0488 -0.1661) |
| OKLCH | oklch(52.72% 0.173 286.4) |
| XYZ | xyz(19.1861, 13.3935, 56.2066) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.75
Slate Blue
#6A5ACD
ΔE00 1.97
Light Indigo
#6D5ACF
ΔE00 2.24
Dark Periwinkle
#665FD1
ΔE00 3.72
Bluey Purple
#6241C7
ΔE00 5.15
Warm Blue
#4B57DB
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6754C8 #B5C854
analogous
#547BC8 #6754C8 #A154C8
triadic
#6754C8 #C86754 #54C867
tetradic
#6754C8 #C8547B #B5C854 #54C8A1
square
#6754C8 #C8547B #B5C854 #54C8A1
split-complementary
#6754C8 #C8A154 #7BC854
monochromatic
#35277A #4936A9 #6754C8 #9082D7 #B9B1E6
Accessibility & contrast
On white
5.71
#6754C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6754C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6754C8
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6754C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6754C8 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#456E86
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6754c8; /* rgb */ color: rgb(103, 84, 200); /* oklch */ color: oklch(52.7% 0.173 286.4);
Tailwind
colors: {
custom: {
50: '#9985d9',
500: '#6754c8',
950: '#000000',
},
}SCSS
$custom: #6754c8; $custom-light: #9985d9; $custom-dark: #000000;
JSON
{
"hex": "#6754c8",
"rgb": {
"r": 103,
"g": 84,
"b": 200
},
"hsl": {
"h": 249.828,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.52719,
"c": 0.17308,
"h": 286.4
},
"luminance": 0.13394
}Semantic roles & 50–950 ramp
primary
#6754C8
secondary
#CCD4A4
accent
#DB4DC4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83