#4C51DB#4C51DB
#4C51DB is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.7% C 0.206 H 274.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4C51DB |
|---|---|
| RGB | rgb(76, 81, 219) |
| HSL | hsl(238, 67%, 58%) |
| HSV | hsv(238, 65%, 86%) |
| CMYK | cmyk(65.3%, 63%, 0%, 14.1%) |
| CIE-LAB | lab(42.05, 40.60, -71.23) |
| CIE-LCH | lch(42.05, 81.99, 299.69°) |
| OKLab | oklab(51.7% 0.0177 -0.2054) |
| OKLCH | oklch(51.7% 0.206 274.9) |
| XYZ | xyz(18.7049, 12.5342, 68.4377) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.85
Iris
#6258C4
ΔE00 4.67
Electric Blue
#0652FF
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 5.24
Dark Periwinkle
#665FD1
ΔE00 5.38
Blue (survey)
#0343DF
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C51DB #DBD64C
analogous
#4C98DB #4C51DB #8E4CDB
triadic
#4C51DB #DB4C51 #51DB4C
tetradic
#4C51DB #DB4C98 #DBD64C #4CDB8E
square
#4C51DB #DB4C98 #DBD64C #4CDB8E
split-complementary
#4C51DB #DB8E4C #98DB4C
monochromatic
#1D2190 #272DC3 #4C51DB #7F83E5 #B2B4EF
Accessibility & contrast
On white
5.99
#4C51DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#4C51DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C51DB
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C51DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C51DB | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4c51db; /* rgb */ color: rgb(76, 81, 219); /* oklch */ color: oklch(51.7% 0.206 274.9);
Tailwind
colors: {
custom: {
50: '#8e82e7',
500: '#4c51db',
950: '#000000',
},
}SCSS
$custom: #4c51db; $custom-light: #8e82e7; $custom-dark: #000000;
JSON
{
"hex": "#4c51db",
"rgb": {
"r": 76,
"g": 81,
"b": 219
},
"hsl": {
"h": 237.902,
"s": 66.512,
"l": 57.843
},
"oklch": {
"l": 0.51699,
"c": 0.20617,
"h": 274.9
},
"luminance": 0.12536
}Semantic roles & 50–950 ramp
primary
#4C51DB
secondary
#DEDCA5
accent
#E33EE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84