#4A66E5#4A66E5
#4A66E5 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.195 H 269.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4A66E5 |
|---|---|
| RGB | rgb(74, 102, 229) |
| HSL | hsl(229, 75%, 59%) |
| HSV | hsv(229, 68%, 90%) |
| CMYK | cmyk(67.7%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(47.77, 30.79, -67.60) |
| CIE-LCH | lch(47.77, 74.28, 294.49°) |
| OKLab | oklab(56.14% -0.0011 -0.1946) |
| OKLCH | oklch(56.14% 0.195 269.7) |
| XYZ | xyz(21.7134, 16.6136, 76.1760) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.93
Cornflower Blue
#5170D7
ΔE00 3.75
Bright Blue
#0165FC
ΔE00 3.88
Azul
#1D5DEC
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 5.11
Dark Periwinkle
#665FD1
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A66E5 #E5C94A
analogous
#4AB4E5 #4A66E5 #7C4AE5
triadic
#4A66E5 #E54A66 #66E54A
tetradic
#4A66E5 #E54AB4 #E5C94A #4AE57C
square
#4A66E5 #E54AB4 #E5C94A #4AE57C
split-complementary
#4A66E5 #E57C4A #B4E54A
monochromatic
#172F9E #1E3FD3 #4A66E5 #8093ED #B5C0F4
Accessibility & contrast
On white
4.86
#4A66E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#4A66E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A66E5
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A66E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A66E5 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4a66e5; /* rgb */ color: rgb(74, 102, 229); /* oklch */ color: oklch(56.1% 0.195 269.7);
Tailwind
colors: {
custom: {
50: '#8e91ee',
500: '#4a66e5',
950: '#000000',
},
}SCSS
$custom: #4a66e5; $custom-light: #8e91ee; $custom-dark: #000000;
JSON
{
"hex": "#4a66e5",
"rgb": {
"r": 74,
"g": 102,
"b": 229
},
"hsl": {
"h": 229.161,
"s": 74.879,
"l": 59.412
},
"oklch": {
"l": 0.56144,
"c": 0.1946,
"h": 269.7
},
"luminance": 0.16616
}Semantic roles & 50–950 ramp
primary
#4A66E5
secondary
#E4D9A7
accent
#D036F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84