#6766DC#6766DC
#6766DC is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.3% C 0.176 H 279.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6766DC |
|---|---|
| RGB | rgb(103, 102, 220) |
| HSL | hsl(241, 63%, 63%) |
| HSV | hsv(241, 54%, 86%) |
| CMYK | cmyk(53.2%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(48.95, 32.79, -60.52) |
| CIE-LCH | lch(48.95, 68.83, 298.45°) |
| OKLab | oklab(57.3% 0.0296 -0.173) |
| OKLCH | oklch(57.3% 0.176 279.7) |
| XYZ | xyz(23.2591, 17.5522, 69.8586) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.80
Mediumslateblue
#7B68EE
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 4.60
Iris
#6258C4
ΔE00 5.70
Warm Blue
#4B57DB
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6766DC #DBDC66
analogous
#66A0DC #6766DC #A266DC
triadic
#6766DC #DC6766 #66DC67
tetradic
#6766DC #DC66A0 #DBDC66 #66DCA2
square
#6766DC #DC66A0 #DBDC66 #66DCA2
split-complementary
#6766DC #DCA266 #A0DC66
monochromatic
#2625A2 #3634D1 #6766DC #9898E7 #CACAF3
Accessibility & contrast
On white
4.66
#6766DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#6766DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6766DC
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6766DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6766DC | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F79E0
Deuteranopia (green-blind)
#0370DA
Tritanopia (blue-blind)
#328197
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6766dc; /* rgb */ color: rgb(103, 102, 220); /* oklch */ color: oklch(57.3% 0.176 279.7);
Tailwind
colors: {
custom: {
50: '#9b91e8',
500: '#6766dc',
950: '#000000',
},
}SCSS
$custom: #6766dc; $custom-light: #9b91e8; $custom-dark: #000000;
JSON
{
"hex": "#6766dc",
"rgb": {
"r": 103,
"g": 102,
"b": 220
},
"hsl": {
"h": 240.508,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.573,
"c": 0.17555,
"h": 279.7
},
"luminance": 0.17554
}Semantic roles & 50–950 ramp
primary
#6766DC
secondary
#E4E4BA
accent
#CB1BC9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D16
muted
#7F7D84