#4164E5#4164E5
#4164E5 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.3% C 0.199 H 267.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4164E5 |
|---|---|
| RGB | rgb(65, 100, 229) |
| HSL | hsl(227, 76%, 58%) |
| HSV | hsv(227, 72%, 90%) |
| CMYK | cmyk(71.6%, 56.3%, 0%, 10.2%) |
| CIE-LAB | lab(46.83, 30.84, -69.14) |
| CIE-LCH | lch(46.83, 75.70, 294.04°) |
| OKLab | oklab(55.33% -0.0078 -0.1993) |
| OKLCH | oklch(55.33% 0.199 267.8) |
| XYZ | xyz(20.8751, 15.8931, 76.0811) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.84
Azul
#1D5DEC
ΔE00 2.92
Bright Blue
#0165FC
ΔE00 3.28
Cornflower Blue
#5170D7
ΔE00 4.32
Warm Blue
#4B57DB
ΔE00 4.76
Cerulean Blue
#056EEE
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4164E5 #E5C241
analogous
#41B6E5 #4164E5 #7041E5
triadic
#4164E5 #E54164 #64E541
tetradic
#4164E5 #E541B6 #E5C241 #41E570
square
#4164E5 #E541B6 #E5C241 #41E570
split-complementary
#4164E5 #E57041 #B6E541
monochromatic
#153097 #1C42CD #4164E5 #7790EC #ADBCF4
Accessibility & contrast
On white
5.03
#4164E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#4164E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4164E5
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4164E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4164E5 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4164e5; /* rgb */ color: rgb(65, 100, 229); /* oklch */ color: oklch(55.3% 0.199 267.8);
Tailwind
colors: {
custom: {
50: '#8a8fee',
500: '#4164e5',
950: '#000000',
},
}SCSS
$custom: #4164e5; $custom-light: #8a8fee; $custom-dark: #000000;
JSON
{
"hex": "#4164e5",
"rgb": {
"r": 65,
"g": 100,
"b": 229
},
"hsl": {
"h": 227.195,
"s": 75.926,
"l": 57.647
},
"oklch": {
"l": 0.55326,
"c": 0.19948,
"h": 267.8
},
"luminance": 0.15895
}Semantic roles & 50–950 ramp
primary
#4164E5
secondary
#E2D4A0
accent
#CA35F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84