#4166E1#4166E1
#4166E1 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.192 H 267.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4166E1 |
|---|---|
| RGB | rgb(65, 102, 225) |
| HSL | hsl(226, 73%, 57%) |
| HSV | hsv(226, 71%, 88%) |
| CMYK | cmyk(71.1%, 54.7%, 0%, 11.8%) |
| CIE-LAB | lab(47.05, 28.15, -66.52) |
| CIE-LCH | lch(47.05, 72.23, 292.94°) |
| OKLab | oklab(55.4% -0.0095 -0.1916) |
| OKLCH | oklch(55.4% 0.192 267.2) |
| XYZ | xyz(20.5172, 16.0607, 73.2383) |
| Luminance | 0.1606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.06
Azul
#1D5DEC
ΔE00 3.37
Bright Blue
#0165FC
ΔE00 3.37
Cornflower Blue
#5170D7
ΔE00 3.63
Cerulean Blue
#056EEE
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166E1 #E1BC41
analogous
#41B6E1 #4166E1 #6C41E1
triadic
#4166E1 #E14166 #66E141
tetradic
#4166E1 #E141B6 #E1BC41 #41E16C
square
#4166E1 #E141B6 #E1BC41 #41E16C
split-complementary
#4166E1 #E16C41 #B6E141
monochromatic
#173391 #1F46C6 #4166E1 #7691E9 #ABBBF2
Accessibility & contrast
On white
4.99
#4166E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#4166E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166E1
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166E1 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4166e1; /* rgb */ color: rgb(65, 102, 225); /* oklch */ color: oklch(55.4% 0.192 267.2);
Tailwind
colors: {
custom: {
50: '#8991eb',
500: '#4166e1',
950: '#000000',
},
}SCSS
$custom: #4166e1; $custom-light: #8991eb; $custom-dark: #000000;
JSON
{
"hex": "#4166e1",
"rgb": {
"r": 65,
"g": 102,
"b": 225
},
"hsl": {
"h": 226.125,
"s": 72.727,
"l": 56.863
},
"oklch": {
"l": 0.554,
"c": 0.19184,
"h": 267.2
},
"luminance": 0.16063
}Semantic roles & 50–950 ramp
primary
#4166E1
secondary
#E0D09E
accent
#C538EF
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84