#4D66DF#4D66DF
#4D66DF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.9% C 0.186 H 270.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4D66DF |
|---|---|
| RGB | rgb(77, 102, 223) |
| HSL | hsl(230, 70%, 59%) |
| HSV | hsv(230, 65%, 87%) |
| CMYK | cmyk(65.5%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(47.50, 29.16, -64.63) |
| CIE-LCH | lch(47.50, 70.91, 294.28°) |
| OKLab | oklab(55.85% 0.0015 -0.1858) |
| OKLCH | oklch(55.85% 0.186 270.5) |
| XYZ | xyz(21.1267, 16.4063, 71.8511) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.04
Cornflower Blue
#5170D7
ΔE00 3.58
Azul
#1D5DEC
ΔE00 4.24
Bright Blue
#0165FC
ΔE00 4.47
Warm Blue
#4B57DB
ΔE00 4.91
Dark Periwinkle
#665FD1
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D66DF #DFC64D
analogous
#4DAFDF #4D66DF #7D4DDF
triadic
#4D66DF #DF4D66 #66DF4D
tetradic
#4D66DF #DF4DAF #DFC64D #4DDF7D
square
#4D66DF #DF4DAF #DFC64D #4DDF7D
split-complementary
#4D66DF #DF7D4D #AFDF4D
monochromatic
#1B3097 #2441CA #4D66DF #8193E8 #B5BFF2
Accessibility & contrast
On white
4.90
#4D66DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#4D66DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D66DF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D66DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D66DF | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E3
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#008399
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4d66df; /* rgb */ color: rgb(77, 102, 223); /* oklch */ color: oklch(55.9% 0.186 270.5);
Tailwind
colors: {
custom: {
50: '#8e91ea',
500: '#4d66df',
950: '#000000',
},
}SCSS
$custom: #4d66df; $custom-light: #8e91ea; $custom-dark: #000000;
JSON
{
"hex": "#4d66df",
"rgb": {
"r": 77,
"g": 102,
"b": 223
},
"hsl": {
"h": 229.726,
"s": 69.524,
"l": 58.824
},
"oklch": {
"l": 0.55853,
"c": 0.18582,
"h": 270.5
},
"luminance": 0.16408
}Semantic roles & 50–950 ramp
primary
#4D66DF
secondary
#E1D7A7
accent
#CE3BEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84