#4159EA#4159EA
#4159EA is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.7% C 0.219 H 270.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4159EA |
|---|---|
| RGB | rgb(65, 89, 234) |
| HSL | hsl(231, 80%, 59%) |
| HSV | hsv(231, 72%, 92%) |
| CMYK | cmyk(72.2%, 62%, 0%, 8.2%) |
| CIE-LAB | lab(44.53, 39.44, -75.72) |
| CIE-LCH | lch(44.53, 85.38, 297.51°) |
| OKLab | oklab(53.73% -0.0001 -0.2188) |
| OKLCH | oklch(53.73% 0.219 270) |
| XYZ | xyz(20.5986, 14.2069, 79.4826) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.10
Azul
#1D5DEC
ΔE00 3.16
Electric Blue
#0652FF
ΔE00 3.18
Bright Blue
#0165FC
ΔE00 5.46
Royal Blue
#4169E1
ΔE00 5.48
Dark Periwinkle
#665FD1
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4159EA #EAD241
analogous
#41ADEA #4159EA #7D41EA
triadic
#4159EA #EA4159 #59EA41
tetradic
#4159EA #EA41AD #EAD241 #41EA7D
square
#4159EA #EA41AD #EAD241 #41EA7D
split-complementary
#4159EA #EA7D41 #ADEA41
monochromatic
#12269F #1833D6 #4159EA #7889F0 #AFB9F6
Accessibility & contrast
On white
5.47
#4159EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#4159EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4159EA
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4159EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4159EA | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4159ea; /* rgb */ color: rgb(65, 89, 234); /* oklch */ color: oklch(53.7% 0.219 270.0);
Tailwind
colors: {
custom: {
50: '#8c88f2',
500: '#4159ea',
950: '#000000',
},
}SCSS
$custom: #4159ea; $custom-light: #8c88f2; $custom-dark: #000000;
JSON
{
"hex": "#4159ea",
"rgb": {
"r": 65,
"g": 89,
"b": 234
},
"hsl": {
"h": 231.479,
"s": 80.095,
"l": 58.627
},
"oklch": {
"l": 0.53733,
"c": 0.21878,
"h": 270
},
"luminance": 0.14209
}Semantic roles & 50–950 ramp
primary
#4159EA
secondary
#E5DBA2
accent
#DB31F7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85