#766DCF#766DCF
#766DCF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.9% C 0.146 H 285.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #766DCF |
|---|---|
| RGB | rgb(118, 109, 207) |
| HSL | hsl(246, 51%, 62%) |
| HSV | hsv(246, 47%, 81%) |
| CMYK | cmyk(43%, 47.3%, 0%, 18.8%) |
| CIE-LAB | lab(51.03, 27.99, -49.73) |
| CIE-LCH | lch(51.03, 57.06, 299.37°) |
| OKLab | oklab(58.9% 0.0382 -0.1409) |
| OKLCH | oklch(58.9% 0.146 285.2) |
| XYZ | xyz(24.1991, 19.2929, 61.4682) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.84
Dark Periwinkle
#665FD1
ΔE00 5.21
Mediumpurple
#9370DB
ΔE00 6.10
Light Indigo
#6D5ACF
ΔE00 6.18
Slate Blue
#6A5ACD
ΔE00 6.32
Iris
#6258C4
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766DCF #C6CF6D
analogous
#6D95CF #766DCF #A76DCF
triadic
#766DCF #CF766D #6DCF76
tetradic
#766DCF #CF6D95 #C6CF6D #6DCFA7
square
#766DCF #CF6D95 #C6CF6D #6DCFA7
split-complementary
#766DCF #CFA76D #95CF6D
monochromatic
#393092 #4B3FC0 #766DCF #A19BDE #CCC9ED
Accessibility & contrast
On white
4.32
#766DCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#766DCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766DCF
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766DCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766DCF | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#467CD3
Deuteranopia (green-blind)
#4377CD
Tritanopia (blue-blind)
#5B8194
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #766dcf; /* rgb */ color: rgb(118, 109, 207); /* oklch */ color: oklch(58.9% 0.146 285.2);
Tailwind
colors: {
custom: {
50: '#a297de',
500: '#766dcf',
950: '#000000',
},
}SCSS
$custom: #766dcf; $custom-light: #a297de; $custom-dark: #000000;
JSON
{
"hex": "#766dcf",
"rgb": {
"r": 118,
"g": 109,
"b": 207
},
"hsl": {
"h": 245.51,
"s": 50.515,
"l": 61.961
},
"oklch": {
"l": 0.58895,
"c": 0.146,
"h": 285.2
},
"luminance": 0.19294
}Semantic roles & 50–950 ramp
primary
#766DCF
secondary
#DBDEBA
accent
#BE28B0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83