#4C66E5#4C66E5
#4C66E5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.194 H 270.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4C66E5 |
|---|---|
| RGB | rgb(76, 102, 229) |
| HSL | hsl(230, 75%, 60%) |
| HSV | hsv(230, 67%, 90%) |
| CMYK | cmyk(66.8%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(47.87, 31.08, -67.43) |
| CIE-LCH | lch(47.87, 74.25, 294.74°) |
| OKLab | oklab(56.25% 0.0008 -0.194) |
| OKLCH | oklch(56.25% 0.194 270.2) |
| XYZ | xyz(21.8699, 16.6943, 76.1833) |
| Luminance | 0.1670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.15
Cornflower Blue
#5170D7
ΔE00 3.80
Bright Blue
#0165FC
ΔE00 4.09
Azul
#1D5DEC
ΔE00 4.17
Warm Blue
#4B57DB
ΔE00 5.07
Dark Periwinkle
#665FD1
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C66E5 #E5CB4C
analogous
#4CB2E5 #4C66E5 #7F4CE5
triadic
#4C66E5 #E54C66 #66E54C
tetradic
#4C66E5 #E54CB2 #E5CB4C #4CE57F
square
#4C66E5 #E54CB2 #E5CB4C #4CE57F
split-complementary
#4C66E5 #E57F4C #B2E54C
monochromatic
#172E9F #1F3ED5 #4C66E5 #8194ED #B7C1F5
Accessibility & contrast
On white
4.84
#4C66E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#4C66E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C66E5
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C66E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C66E5 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4c66e5; /* rgb */ color: rgb(76, 102, 229); /* oklch */ color: oklch(56.2% 0.194 270.2);
Tailwind
colors: {
custom: {
50: '#8f91ee',
500: '#4c66e5',
950: '#000000',
},
}SCSS
$custom: #4c66e5; $custom-light: #8f91ee; $custom-dark: #000000;
JSON
{
"hex": "#4c66e5",
"rgb": {
"r": 76,
"g": 102,
"b": 229
},
"hsl": {
"h": 229.804,
"s": 74.634,
"l": 59.804
},
"oklch": {
"l": 0.56249,
"c": 0.19405,
"h": 270.2
},
"luminance": 0.16696
}Semantic roles & 50–950 ramp
primary
#4C66E5
secondary
#E4DAA9
accent
#D237F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84