#4168E5#4168E5
#4168E5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.195 H 266.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4168E5 |
|---|---|
| RGB | rgb(65, 104, 229) |
| HSL | hsl(226, 76%, 58%) |
| HSV | hsv(226, 72%, 90%) |
| CMYK | cmyk(71.6%, 54.6%, 0%, 10.2%) |
| CIE-LAB | lab(47.85, 28.32, -67.48) |
| CIE-LCH | lch(47.85, 73.19, 292.77°) |
| OKLab | oklab(56.09% -0.0108 -0.1944) |
| OKLCH | oklch(56.09% 0.195 266.8) |
| XYZ | xyz(21.2682, 16.6794, 76.2121) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 0.64
Bright Blue
#0165FC
ΔE00 3.07
Cornflower Blue
#5170D7
ΔE00 3.19
Azul
#1D5DEC
ΔE00 3.87
Cerulean Blue
#056EEE
ΔE00 4.40
Warm Blue
#4B57DB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4168E5 #E5BE41
analogous
#41BAE5 #4168E5 #6C41E5
triadic
#4168E5 #E54168 #68E541
tetradic
#4168E5 #E541BA #E5BE41 #41E56C
square
#4168E5 #E541BA #E5BE41 #41E56C
split-complementary
#4168E5 #E56C41 #BAE541
monochromatic
#153497 #1C46CD #4168E5 #7793EC #ADBEF4
Accessibility & contrast
On white
4.84
#4168E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#4168E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4168E5
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4168E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4168E5 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4168e5; /* rgb */ color: rgb(65, 104, 229); /* oklch */ color: oklch(56.1% 0.195 266.8);
Tailwind
colors: {
custom: {
50: '#8a92ee',
500: '#4168e5',
950: '#000000',
},
}SCSS
$custom: #4168e5; $custom-light: #8a92ee; $custom-dark: #000000;
JSON
{
"hex": "#4168e5",
"rgb": {
"r": 65,
"g": 104,
"b": 229
},
"hsl": {
"h": 225.732,
"s": 75.926,
"l": 57.647
},
"oklch": {
"l": 0.56092,
"c": 0.19471,
"h": 266.8
},
"luminance": 0.16682
}Semantic roles & 50–950 ramp
primary
#4168E5
secondary
#E2D2A0
accent
#C635F3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0D16
muted
#7E7D84