#4C66E2#4C66E2
#4C66E2 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.190 H 270.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4C66E2 |
|---|---|
| RGB | rgb(76, 102, 226) |
| HSL | hsl(230, 72%, 59%) |
| HSV | hsv(230, 66%, 89%) |
| CMYK | cmyk(66.4%, 54.9%, 0%, 11.4%) |
| CIE-LAB | lab(47.66, 30.04, -66.08) |
| CIE-LCH | lch(47.66, 72.59, 294.45°) |
| OKLab | oklab(56.02% 0.0007 -0.1901) |
| OKLCH | oklch(56.02% 0.19 270.2) |
| XYZ | xyz(21.4547, 16.5282, 73.9964) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.00
Cornflower Blue
#5170D7
ΔE00 3.66
Azul
#1D5DEC
ΔE00 4.14
Bright Blue
#0165FC
ΔE00 4.22
Warm Blue
#4B57DB
ΔE00 4.99
Dark Periwinkle
#665FD1
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C66E2 #E2C84C
analogous
#4CB1E2 #4C66E2 #7D4CE2
triadic
#4C66E2 #E24C66 #66E24C
tetradic
#4C66E2 #E24CB1 #E2C84C #4CE27D
square
#4C66E2 #E24CB1 #E2C84C #4CE27D
split-complementary
#4C66E2 #E27D4C #B1E24C
monochromatic
#192F9B #2240CF #4C66E2 #8193EB #B5C0F3
Accessibility & contrast
On white
4.88
#4C66E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#4C66E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C66E2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C66E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C66E2 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4c66e2; /* rgb */ color: rgb(76, 102, 226); /* oklch */ color: oklch(56.0% 0.190 270.2);
Tailwind
colors: {
custom: {
50: '#8e91ec',
500: '#4c66e2',
950: '#000000',
},
}SCSS
$custom: #4c66e2; $custom-light: #8e91ec; $custom-dark: #000000;
JSON
{
"hex": "#4c66e2",
"rgb": {
"r": 76,
"g": 102,
"b": 226
},
"hsl": {
"h": 229.6,
"s": 72.115,
"l": 59.216
},
"oklch": {
"l": 0.56023,
"c": 0.19008,
"h": 270.2
},
"luminance": 0.1653
}Semantic roles & 50–950 ramp
primary
#4C66E2
secondary
#E2D8A8
accent
#CF39EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84