#4D66CD#4D66CD
#4D66CD is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.161 H 270.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4D66CD |
|---|---|
| RGB | rgb(77, 102, 205) |
| HSL | hsl(228, 56%, 55%) |
| HSV | hsv(228, 62%, 80%) |
| CMYK | cmyk(62.4%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(46.29, 22.96, -56.33) |
| CIE-LCH | lch(46.29, 60.83, 292.18°) |
| OKLab | oklab(54.56% 0.0001 -0.1614) |
| OKLCH | oklch(54.56% 0.161 270) |
| XYZ | xyz(18.8277, 15.4867, 59.7428) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.95
Cornflower Blue
#5170D7
ΔE00 3.72
Azul
#1D5DEC
ΔE00 5.05
Warm Blue
#4B57DB
ΔE00 5.35
French Blue
#436BAD
ΔE00 5.50
Dark Periwinkle
#665FD1
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D66CD #CDB44D
analogous
#4DA6CD #4D66CD #744DCD
triadic
#4D66CD #CD4D66 #66CD4D
tetradic
#4D66CD #CD4DA6 #CDB44D #4DCD74
square
#4D66CD #CD4DA6 #CDB44D #4DCD74
split-complementary
#4D66CD #CD744D #A6CD4D
monochromatic
#23357D #3049AC #4D66CD #7D8FDA #ADB8E8
Accessibility & contrast
On white
5.12
#4D66CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#4D66CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D66CD
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D66CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D66CD | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#0868CB
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4d66cd; /* rgb */ color: rgb(77, 102, 205); /* oklch */ color: oklch(54.6% 0.161 270.0);
Tailwind
colors: {
custom: {
50: '#8b91dd',
500: '#4d66cd',
950: '#000000',
},
}SCSS
$custom: #4d66cd; $custom-light: #8b91dd; $custom-dark: #000000;
JSON
{
"hex": "#4d66cd",
"rgb": {
"r": 77,
"g": 102,
"b": 205
},
"hsl": {
"h": 228.281,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.54555,
"c": 0.16137,
"h": 270
},
"luminance": 0.15488
}Semantic roles & 50–950 ramp
primary
#4D66CD
secondary
#D6CBA0
accent
#C248DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83