#4D66D9#4D66D9
#4D66D9 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.178 H 270.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4D66D9 |
|---|---|
| RGB | rgb(77, 102, 217) |
| HSL | hsl(229, 65%, 58%) |
| HSV | hsv(229, 65%, 85%) |
| CMYK | cmyk(64.5%, 53%, 0%, 14.9%) |
| CIE-LAB | lab(47.09, 27.09, -61.90) |
| CIE-LCH | lch(47.09, 67.57, 293.64°) |
| OKLab | oklab(55.41% 0.0011 -0.1777) |
| OKLCH | oklch(55.41% 0.178 270.4) |
| XYZ | xyz(20.3321, 16.0884, 67.6661) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.10
Cornflower Blue
#5170D7
ΔE00 3.46
Azul
#1D5DEC
ΔE00 4.37
Bright Blue
#0165FC
ΔE00 4.87
Warm Blue
#4B57DB
ΔE00 4.92
Dark Periwinkle
#665FD1
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D66D9 #D9C04D
analogous
#4DACD9 #4D66D9 #7A4DD9
triadic
#4D66D9 #D94D66 #66D94D
tetradic
#4D66D9 #D94DAC #D9C04D #4DD97A
square
#4D66D9 #D94DAC #D9C04D #4DD97A
split-complementary
#4D66D9 #D97A4D #ACD94D
monochromatic
#1E328D #2944C0 #4D66D9 #7F91E4 #B2BDEF
Accessibility & contrast
On white
4.98
#4D66D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#4D66D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D66D9
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D66D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D66D9 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1876DD
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4d66d9; /* rgb */ color: rgb(77, 102, 217); /* oklch */ color: oklch(55.4% 0.178 270.4);
Tailwind
colors: {
custom: {
50: '#8d91e5',
500: '#4d66d9',
950: '#000000',
},
}SCSS
$custom: #4d66d9; $custom-light: #8d91e5; $custom-dark: #000000;
JSON
{
"hex": "#4d66d9",
"rgb": {
"r": 77,
"g": 102,
"b": 217
},
"hsl": {
"h": 229.286,
"s": 64.815,
"l": 57.647
},
"oklch": {
"l": 0.55411,
"c": 0.17775,
"h": 270.4
},
"luminance": 0.1609
}Semantic roles & 50–950 ramp
primary
#4D66D9
secondary
#DDD3A5
accent
#CA40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84