#4D5FDC#4D5FDC
#4D5FDC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.190 H 272.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4D5FDC |
|---|---|
| RGB | rgb(77, 95, 220) |
| HSL | hsl(232, 67%, 58%) |
| HSV | hsv(232, 65%, 86%) |
| CMYK | cmyk(65%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(45.53, 32.49, -66.12) |
| CIE-LCH | lch(45.53, 73.67, 296.17°) |
| OKLab | oklab(54.31% 0.0074 -0.1903) |
| OKLCH | oklch(54.31% 0.19 272.2) |
| XYZ | xyz(20.0667, 14.9277, 69.5201) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.53
Azul
#1D5DEC
ΔE00 3.82
Royal Blue
#4169E1
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 4.14
Iris
#6258C4
ΔE00 5.42
Electric Blue
#0652FF
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D5FDC #DCCA4D
analogous
#4DA6DC #4D5FDC #834DDC
triadic
#4D5FDC #DC4D5F #5FDC4D
tetradic
#4D5FDC #DC4DA6 #DCCA4D #4DDC83
square
#4D5FDC #DC4DA6 #DCCA4D #4DDC83
split-complementary
#4D5FDC #DC834D #A6DC4D
monochromatic
#1D2B92 #273BC5 #4D5FDC #808DE6 #B3BBF0
Accessibility & contrast
On white
5.27
#4D5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#4D5FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D5FDC
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D5FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D5FDC | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4d5fdc; /* rgb */ color: rgb(77, 95, 220); /* oklch */ color: oklch(54.3% 0.190 272.2);
Tailwind
colors: {
custom: {
50: '#8e8ce8',
500: '#4d5fdc',
950: '#000000',
},
}SCSS
$custom: #4d5fdc; $custom-light: #8e8ce8; $custom-dark: #000000;
JSON
{
"hex": "#4d5fdc",
"rgb": {
"r": 77,
"g": 95,
"b": 220
},
"hsl": {
"h": 232.448,
"s": 67.136,
"l": 58.235
},
"oklch": {
"l": 0.54313,
"c": 0.19041,
"h": 272.2
},
"luminance": 0.1493
}Semantic roles & 50–950 ramp
primary
#4D5FDC
secondary
#DFD8A6
accent
#D43EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84