#4D66C8#4D66C8
#4D66C8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.2% C 0.154 H 269.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4D66C8 |
|---|---|
| RGB | rgb(77, 102, 200) |
| HSL | hsl(228, 53%, 54%) |
| HSV | hsv(228, 62%, 78%) |
| CMYK | cmyk(61.5%, 49%, 0%, 21.6%) |
| CIE-LAB | lab(45.97, 21.24, -53.97) |
| CIE-LCH | lch(45.97, 58.00, 291.48°) |
| OKLab | oklab(54.21% -0.0004 -0.1544) |
| OKLCH | oklch(54.21% 0.154 269.8) |
| XYZ | xyz(18.2338, 15.2491, 56.6149) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.47
Cornflower Blue
#5170D7
ΔE00 4.01
French Blue
#436BAD
ΔE00 5.01
Azul
#1D5DEC
ΔE00 5.46
Warm Blue
#4B57DB
ΔE00 5.67
Dark Periwinkle
#665FD1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D66C8 #C8AF4D
analogous
#4DA4C8 #4D66C8 #724DC8
triadic
#4D66C8 #C84D66 #66C84D
tetradic
#4D66C8 #C84DA4 #C8AF4D #4DC872
square
#4D66C8 #C84DA4 #C8AF4D #4DC872
split-complementary
#4D66C8 #C8724D #A4C84D
monochromatic
#243576 #334AA5 #4D66C8 #7C8ED6 #ABB6E5
Accessibility & contrast
On white
5.18
#4D66C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#4D66C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D66C8
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D66C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D66C8 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#1968C6
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4d66c8; /* rgb */ color: rgb(77, 102, 200); /* oklch */ color: oklch(54.2% 0.154 269.8);
Tailwind
colors: {
custom: {
50: '#8a91d9',
500: '#4d66c8',
950: '#000000',
},
}SCSS
$custom: #4d66c8; $custom-light: #8a91d9; $custom-dark: #000000;
JSON
{
"hex": "#4d66c8",
"rgb": {
"r": 77,
"g": 102,
"b": 200
},
"hsl": {
"h": 227.805,
"s": 52.79,
"l": 54.314
},
"oklch": {
"l": 0.5421,
"c": 0.15444,
"h": 269.8
},
"luminance": 0.15251
}Semantic roles & 50–950 ramp
primary
#4D66C8
secondary
#D2C89E
accent
#BF4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83