#4D51D2#4D51D2
#4D51D2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.194 H 275.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4D51D2 |
|---|---|
| RGB | rgb(77, 81, 210) |
| HSL | hsl(238, 60%, 56%) |
| HSV | hsv(238, 63%, 82%) |
| CMYK | cmyk(63.3%, 61.4%, 0%, 17.6%) |
| CIE-LAB | lab(41.40, 37.76, -67.14) |
| CIE-LCH | lch(41.40, 77.03, 299.35°) |
| OKLab | oklab(51.01% 0.0193 -0.1934) |
| OKLCH | oklch(51.01% 0.194 275.7) |
| XYZ | xyz(17.6320, 12.1143, 62.3694) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.24
Iris
#6258C4
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 5.07
Dark Periwinkle
#665FD1
ΔE00 5.34
Light Indigo
#6D5ACF
ΔE00 5.51
Blue (survey)
#0343DF
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D51D2 #D2CE4D
analogous
#4D94D2 #4D51D2 #8C4DD2
triadic
#4D51D2 #D24D51 #51D24D
tetradic
#4D51D2 #D24D94 #D2CE4D #4DD28C
square
#4D51D2 #D24D94 #D2CE4D #4DD28C
split-complementary
#4D51D2 #D28C4D #94D24D
monochromatic
#212483 #2E32B4 #4D51D2 #7E81DE #AFB1EB
Accessibility & contrast
On white
6.13
#4D51D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#4D51D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D51D2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D51D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D51D2 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#00718A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4d51d2; /* rgb */ color: rgb(77, 81, 210); /* oklch */ color: oklch(51.0% 0.194 275.7);
Tailwind
colors: {
custom: {
50: '#8d82e1',
500: '#4d51d2',
950: '#000000',
},
}SCSS
$custom: #4d51d2; $custom-light: #8d82e1; $custom-dark: #000000;
JSON
{
"hex": "#4d51d2",
"rgb": {
"r": 77,
"g": 81,
"b": 210
},
"hsl": {
"h": 238.195,
"s": 59.641,
"l": 56.275
},
"oklch": {
"l": 0.51011,
"c": 0.19434,
"h": 275.7
},
"luminance": 0.12116
}Semantic roles & 50–950 ramp
primary
#4D51D2
secondary
#D9D7A2
accent
#DE45E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83