#5C66E3#5C66E3
#5C66E3 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.187 H 275.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5C66E3 |
|---|---|
| RGB | rgb(92, 102, 227) |
| HSL | hsl(236, 71%, 63%) |
| HSV | hsv(236, 59%, 89%) |
| CMYK | cmyk(59.5%, 55.1%, 0%, 11%) |
| CIE-LAB | lab(48.66, 32.97, -64.97) |
| CIE-LCH | lch(48.66, 72.86, 296.91°) |
| OKLab | oklab(57.04% 0.0173 -0.1864) |
| OKLCH | oklch(57.04% 0.187 275.3) |
| XYZ | xyz(23.0256, 17.3223, 74.7883) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.94
Royal Blue
#4169E1
ΔE00 4.21
Cornflower Blue
#5170D7
ΔE00 4.73
Warm Blue
#4B57DB
ΔE00 5.21
Mediumslateblue
#7B68EE
ΔE00 5.51
Slate Blue
#6A5ACD
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C66E3 #E3D95C
analogous
#5CA9E3 #5C66E3 #965CE3
triadic
#5C66E3 #E35C66 #66E35C
tetradic
#5C66E3 #E35CA9 #E3D95C #5CE396
square
#5C66E3 #E35CA9 #E3D95C #5CE396
split-complementary
#5C66E3 #E3965C #A9E35C
monochromatic
#1D27A8 #2835DA #5C66E3 #9097EC #C4C8F5
Accessibility & contrast
On white
4.70
#5C66E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#5C66E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C66E3
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C66E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C66E3 | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5c66e3; /* rgb */ color: rgb(92, 102, 227); /* oklch */ color: oklch(57.0% 0.187 275.3);
Tailwind
colors: {
custom: {
50: '#9691ed',
500: '#5c66e3',
950: '#000000',
},
}SCSS
$custom: #5c66e3; $custom-light: #9691ed; $custom-dark: #000000;
JSON
{
"hex": "#5c66e3",
"rgb": {
"r": 92,
"g": 102,
"b": 227
},
"hsl": {
"h": 235.556,
"s": 70.681,
"l": 62.549
},
"oklch": {
"l": 0.57042,
"c": 0.18725,
"h": 275.3
},
"luminance": 0.17324
}Semantic roles & 50–950 ramp
primary
#5C66E3
secondary
#E6E2B5
accent
#C413D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84