#4D66E1#4D66E1
#4D66E1 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.188 H 270.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4D66E1 |
|---|---|
| RGB | rgb(77, 102, 225) |
| HSL | hsl(230, 71%, 59%) |
| HSV | hsv(230, 66%, 88%) |
| CMYK | cmyk(65.8%, 54.7%, 0%, 11.8%) |
| CIE-LAB | lab(47.64, 29.85, -65.54) |
| CIE-LCH | lch(47.64, 72.02, 294.48°) |
| OKLab | oklab(56% 0.0016 -0.1885) |
| OKLCH | oklch(56% 0.188 270.5) |
| XYZ | xyz(21.3979, 16.5148, 73.2796) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.09
Cornflower Blue
#5170D7
ΔE00 3.65
Azul
#1D5DEC
ΔE00 4.23
Bright Blue
#0165FC
ΔE00 4.37
Warm Blue
#4B57DB
ΔE00 4.94
Dark Periwinkle
#665FD1
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D66E1 #E1C84D
analogous
#4DB0E1 #4D66E1 #7E4DE1
triadic
#4D66E1 #E14D66 #66E14D
tetradic
#4D66E1 #E14DB0 #E1C84D #4DE17E
square
#4D66E1 #E14DB0 #E1C84D #4DE17E
split-complementary
#4D66E1 #E17E4D #B0E14D
monochromatic
#1A2F9A #2340CE #4D66E1 #8193EA #B6C0F3
Accessibility & contrast
On white
4.88
#4D66E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#4D66E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D66E1
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D66E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D66E1 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4d66e1; /* rgb */ color: rgb(77, 102, 225); /* oklch */ color: oklch(56.0% 0.188 270.5);
Tailwind
colors: {
custom: {
50: '#8e91eb',
500: '#4d66e1',
950: '#000000',
},
}SCSS
$custom: #4d66e1; $custom-light: #8e91eb; $custom-dark: #000000;
JSON
{
"hex": "#4d66e1",
"rgb": {
"r": 77,
"g": 102,
"b": 225
},
"hsl": {
"h": 229.865,
"s": 71.154,
"l": 59.216
},
"oklch": {
"l": 0.56002,
"c": 0.18848,
"h": 270.5
},
"luminance": 0.16517
}Semantic roles & 50–950 ramp
primary
#4D66E1
secondary
#E2D8A8
accent
#CF3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84