#4151E2#4151E2
#4151E2 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.7% C 0.218 H 271.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4151E2 |
|---|---|
| RGB | rgb(65, 81, 226) |
| HSL | hsl(234, 74%, 57%) |
| HSV | hsv(234, 71%, 89%) |
| CMYK | cmyk(71.2%, 64.2%, 0%, 11.4%) |
| CIE-LAB | lab(42.00, 41.57, -75.34) |
| CIE-LCH | lch(42.00, 86.04, 298.89°) |
| OKLab | oklab(51.67% 0.0054 -0.2177) |
| OKLCH | oklch(51.67% 0.218 271.4) |
| XYZ | xyz(18.8452, 12.4978, 73.3559) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.98
Electric Blue
#0652FF
ΔE00 3.63
Blue (survey)
#0343DF
ΔE00 4.92
Azul
#1D5DEC
ΔE00 4.98
Iris
#6258C4
ΔE00 5.87
Purpleish Blue
#6140EF
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151E2 #E2D241
analogous
#41A2E2 #4151E2 #8141E2
triadic
#4151E2 #E24151 #51E241
tetradic
#4151E2 #E241A2 #E2D241 #41E281
square
#4151E2 #E241A2 #E2D241 #41E281
split-complementary
#4151E2 #E28141 #A2E241
monochromatic
#162392 #1E2FC7 #4151E2 #7682EA #ABB2F2
Accessibility & contrast
On white
6.00
#4151E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#4151E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151E2
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151E2 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4151e2; /* rgb */ color: rgb(65, 81, 226); /* oklch */ color: oklch(51.7% 0.218 271.4);
Tailwind
colors: {
custom: {
50: '#8b82ec',
500: '#4151e2',
950: '#000000',
},
}SCSS
$custom: #4151e2; $custom-light: #8b82ec; $custom-dark: #000000;
JSON
{
"hex": "#4151e2",
"rgb": {
"r": 65,
"g": 81,
"b": 226
},
"hsl": {
"h": 234.037,
"s": 73.516,
"l": 57.059
},
"oklch": {
"l": 0.51668,
"c": 0.21778,
"h": 271.4
},
"luminance": 0.125
}Semantic roles & 50–950 ramp
primary
#4151E2
secondary
#E0DA9F
accent
#DE38F0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84