#4151E5#4151E5
#4151E5 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.9% C 0.222 H 271.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4151E5 |
|---|---|
| RGB | rgb(65, 81, 229) |
| HSL | hsl(234, 76%, 58%) |
| HSV | hsv(234, 72%, 90%) |
| CMYK | cmyk(71.6%, 64.6%, 0%, 10.2%) |
| CIE-LAB | lab(42.25, 42.60, -76.62) |
| CIE-LCH | lch(42.25, 87.66, 299.07°) |
| OKLab | oklab(51.93% 0.0052 -0.2215) |
| OKLCH | oklch(51.93% 0.222 271.3) |
| XYZ | xyz(19.2605, 12.6639, 75.5429) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.10
Electric Blue
#0652FF
ΔE00 3.37
Azul
#1D5DEC
ΔE00 4.95
Blue (survey)
#0343DF
ΔE00 5.07
Purpleish Blue
#6140EF
ΔE00 5.92
Iris
#6258C4
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151E5 #E5D541
analogous
#41A3E5 #4151E5 #8341E5
triadic
#4151E5 #E54151 #51E541
tetradic
#4151E5 #E541A3 #E5D541 #41E583
square
#4151E5 #E541A3 #E5D541 #41E583
split-complementary
#4151E5 #E58341 #A3E541
monochromatic
#152197 #1C2DCD #4151E5 #7782EC #ADB4F4
Accessibility & contrast
On white
5.94
#4151E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#4151E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151E5
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151E5 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#005CE2
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4151e5; /* rgb */ color: rgb(65, 81, 229); /* oklch */ color: oklch(51.9% 0.222 271.3);
Tailwind
colors: {
custom: {
50: '#8c82ee',
500: '#4151e5',
950: '#000000',
},
}SCSS
$custom: #4151e5; $custom-light: #8c82ee; $custom-dark: #000000;
JSON
{
"hex": "#4151e5",
"rgb": {
"r": 65,
"g": 81,
"b": 229
},
"hsl": {
"h": 234.146,
"s": 75.926,
"l": 57.647
},
"oklch": {
"l": 0.51934,
"c": 0.22153,
"h": 271.3
},
"luminance": 0.12666
}Semantic roles & 50–950 ramp
primary
#4151E5
secondary
#E2DBA0
accent
#E035F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85