#766BBD#766BBD
#766BBD is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.5% C 0.124 H 288.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #766BBD |
|---|---|
| RGB | rgb(118, 107, 189) |
| HSL | hsl(248, 38%, 58%) |
| HSV | hsv(248, 43%, 74%) |
| CMYK | cmyk(37.6%, 43.4%, 0%, 25.9%) |
| CIE-LAB | lab(49.55, 24.06, -41.77) |
| CIE-LCH | lch(49.55, 48.20, 299.95°) |
| OKLab | oklab(57.46% 0.0383 -0.1176) |
| OKLCH | oklch(57.46% 0.124 288) |
| XYZ | xyz(21.9117, 18.0404, 50.4619) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 6.12
Light Indigo
#6D5ACF
ΔE00 6.59
Slate Blue
#6A5ACD
ΔE00 6.62
Mediumpurple
#9370DB
ΔE00 7.27
Iris
#6258C4
ΔE00 7.27
Deep Lavender
#8D5EB7
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766BBD #B2BD6B
analogous
#6B89BD #766BBD #9F6BBD
triadic
#766BBD #BD766B #6BBD76
tetradic
#766BBD #BD6B89 #B2BD6B #6BBD9F
square
#766BBD #BD6B89 #B2BD6B #6BBD9F
split-complementary
#766BBD #BD9F6B #89BD6B
monochromatic
#3E3678 #5448A2 #766BBD #9D95D0 #C4C0E3
Accessibility & contrast
On white
4.56
#766BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#766BBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766BBD
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766BBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766BBD | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#4E74BB
Tritanopia (blue-blind)
#637B8B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #766bbd; /* rgb */ color: rgb(118, 107, 189); /* oklch */ color: oklch(57.5% 0.124 288.0);
Tailwind
colors: {
custom: {
50: '#a095d1',
500: '#766bbd',
950: '#000000',
},
}SCSS
$custom: #766bbd; $custom-light: #a095d1; $custom-dark: #000000;
JSON
{
"hex": "#766bbd",
"rgb": {
"r": 118,
"g": 107,
"b": 189
},
"hsl": {
"h": 248.049,
"s": 38.318,
"l": 58.039
},
"oklch": {
"l": 0.57455,
"c": 0.12369,
"h": 288
},
"luminance": 0.18041
}Semantic roles & 50–950 ramp
primary
#766BBD
secondary
#CED2B2
accent
#CE5ABF
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82