#4E51BF#4E51BF
#4E51BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.169 H 277.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4E51BF |
|---|---|
| RGB | rgb(78, 81, 191) |
| HSL | hsl(238, 47%, 53%) |
| HSV | hsv(238, 59%, 75%) |
| CMYK | cmyk(59.2%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(40.02, 31.60, -58.36) |
| CIE-LCH | lch(40.02, 66.37, 298.44°) |
| OKLab | oklab(49.56% 0.0209 -0.1675) |
| OKLCH | oklch(49.56% 0.169 277.1) |
| XYZ | xyz(15.4853, 11.2650, 50.6385) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 4.23
Ocean Blue
#4F42B5
ΔE00 4.73
Slate Blue
#6A5ACD
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 5.76
Dark Periwinkle
#665FD1
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E51BF #BFBC4E
analogous
#4E89BF #4E51BF #834EBF
triadic
#4E51BF #BF4E51 #51BF4E
tetradic
#4E51BF #BF4E89 #BFBC4E #4EBF83
square
#4E51BF #BF4E89 #BFBC4E #4EBF83
split-complementary
#4E51BF #BF834E #89BF4E
monochromatic
#27296C #373A99 #4E51BF #7B7DCF #A8A9E0
Accessibility & contrast
On white
6.46
#4E51BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#4E51BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E51BF
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E51BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E51BF | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4e51bf; /* rgb */ color: rgb(78, 81, 191); /* oklch */ color: oklch(49.6% 0.169 277.1);
Tailwind
colors: {
custom: {
50: '#8a82d3',
500: '#4e51bf',
950: '#000000',
},
}SCSS
$custom: #4e51bf; $custom-light: #8a82d3; $custom-dark: #000000;
JSON
{
"hex": "#4e51bf",
"rgb": {
"r": 78,
"g": 81,
"b": 191
},
"hsl": {
"h": 238.407,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.49562,
"c": 0.16885,
"h": 277.1
},
"luminance": 0.11266
}Semantic roles & 50–950 ramp
primary
#4E51BF
secondary
#CDCC9C
accent
#D351D7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83