#4166E3#4166E3
#4166E3 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.6% C 0.194 H 267.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4166E3 |
|---|---|
| RGB | rgb(65, 102, 227) |
| HSL | hsl(226, 74%, 57%) |
| HSV | hsv(226, 71%, 89%) |
| CMYK | cmyk(71.4%, 55.1%, 0%, 11%) |
| CIE-LAB | lab(47.20, 28.87, -67.42) |
| CIE-LCH | lch(47.20, 73.34, 293.18°) |
| OKLab | oklab(55.55% -0.0094 -0.1942) |
| OKLCH | oklch(55.55% 0.194 267.2) |
| XYZ | xyz(20.7917, 16.1704, 74.6836) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.10
Bright Blue
#0165FC
ΔE00 3.23
Azul
#1D5DEC
ΔE00 3.35
Cornflower Blue
#5170D7
ΔE00 3.67
Cerulean Blue
#056EEE
ΔE00 4.91
Warm Blue
#4B57DB
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166E3 #E3BE41
analogous
#41B7E3 #4166E3 #6D41E3
triadic
#4166E3 #E34166 #66E341
tetradic
#4166E3 #E341B7 #E3BE41 #41E36D
square
#4166E3 #E341B7 #E3BE41 #41E36D
split-complementary
#4166E3 #E36D41 #B7E341
monochromatic
#163394 #1E45C9 #4166E3 #7691EB #ACBCF3
Accessibility & contrast
On white
4.96
#4166E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#4166E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166E3
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166E3 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#00859B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4166e3; /* rgb */ color: rgb(65, 102, 227); /* oklch */ color: oklch(55.6% 0.194 267.2);
Tailwind
colors: {
custom: {
50: '#8a91ed',
500: '#4166e3',
950: '#000000',
},
}SCSS
$custom: #4166e3; $custom-light: #8a91ed; $custom-dark: #000000;
JSON
{
"hex": "#4166e3",
"rgb": {
"r": 65,
"g": 102,
"b": 227
},
"hsl": {
"h": 226.296,
"s": 74.312,
"l": 57.255
},
"oklch": {
"l": 0.55553,
"c": 0.19448,
"h": 267.2
},
"luminance": 0.16173
}Semantic roles & 50–950 ramp
primary
#4166E3
secondary
#E1D29F
accent
#C637F1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84