#766BCC#766BCC
#766BCC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.145 H 286.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #766BCC |
|---|---|
| RGB | rgb(118, 107, 204) |
| HSL | hsl(247, 49%, 61%) |
| HSV | hsv(247, 48%, 80%) |
| CMYK | cmyk(42.2%, 47.5%, 0%, 20%) |
| CIE-LAB | lab(50.36, 28.32, -49.08) |
| CIE-LCH | lch(50.36, 56.66, 299.99°) |
| OKLab | oklab(58.34% 0.0403 -0.139) |
| OKLCH | oklch(58.34% 0.145 286.2) |
| XYZ | xyz(23.6249, 18.7257, 59.4847) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.79
Mediumslateblue
#7B68EE
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.59
Slate Blue
#6A5ACD
ΔE00 5.72
Mediumpurple
#9370DB
ΔE00 6.23
Iris
#6258C4
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#766BCC #C1CC6B
analogous
#6B90CC #766BCC #A66BCC
triadic
#766BCC #CC766B #6BCC76
tetradic
#766BCC #CC6B90 #C1CC6B #6BCCA6
square
#766BCC #CC6B90 #C1CC6B #6BCCA6
split-complementary
#766BCC #CCA66B #90CC6B
monochromatic
#3B308C #4E40BA #766BCC #A099DC #CAC6EB
Accessibility & contrast
On white
4.43
#766BCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#766BCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #766BCC
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##766BCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##766BCC | 1.00 | 4.43 | 4.75 | 4.75 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#5C7F92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #766bcc; /* rgb */ color: rgb(118, 107, 204); /* oklch */ color: oklch(58.3% 0.145 286.2);
Tailwind
colors: {
custom: {
50: '#a295dc',
500: '#766bcc',
950: '#000000',
},
}SCSS
$custom: #766bcc; $custom-light: #a295dc; $custom-dark: #000000;
JSON
{
"hex": "#766bcc",
"rgb": {
"r": 118,
"g": 107,
"b": 204
},
"hsl": {
"h": 246.804,
"s": 48.744,
"l": 60.98
},
"oklch": {
"l": 0.5834,
"c": 0.14475,
"h": 286.2
},
"luminance": 0.18727
}Semantic roles & 50–950 ramp
primary
#766BCC
secondary
#D8DCB7
accent
#BC29AB
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83