#4169E7#4169E7
#4169E7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.4% C 0.196 H 266.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4169E7 |
|---|---|
| RGB | rgb(65, 105, 231) |
| HSL | hsl(226, 78%, 58%) |
| HSV | hsv(226, 72%, 91%) |
| CMYK | cmyk(71.9%, 54.5%, 0%, 9.4%) |
| CIE-LAB | lab(48.25, 28.41, -67.96) |
| CIE-LCH | lch(48.25, 73.66, 292.68°) |
| OKLab | oklab(56.44% -0.0114 -0.1958) |
| OKLCH | oklch(56.44% 0.196 266.7) |
| XYZ | xyz(21.6503, 16.9942, 77.7250) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 0.78
Bright Blue
#0165FC
ΔE00 3.01
Cornflower Blue
#5170D7
ΔE00 3.04
Azul
#1D5DEC
ΔE00 4.17
Cerulean Blue
#056EEE
ΔE00 4.20
Deep Sky Blue
#0D75F8
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4169E7 #E7BF41
analogous
#41BCE7 #4169E7 #6C41E7
triadic
#4169E7 #E74169 #69E741
tetradic
#4169E7 #E741BC #E7BF41 #41E76C
square
#4169E7 #E741BC #E7BF41 #41E76C
split-complementary
#4169E7 #E76C41 #BCE741
monochromatic
#13349A #1A46D0 #4169E7 #7794EE #AEBFF5
Accessibility & contrast
On white
4.77
#4169E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#4169E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4169E7
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4169E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4169E7 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #4169e7; /* rgb */ color: rgb(65, 105, 231); /* oklch */ color: oklch(56.4% 0.196 266.7);
Tailwind
colors: {
custom: {
50: '#8a93ef',
500: '#4169e7',
950: '#000000',
},
}SCSS
$custom: #4169e7; $custom-light: #8a93ef; $custom-dark: #000000;
JSON
{
"hex": "#4169e7",
"rgb": {
"r": 65,
"g": 105,
"b": 231
},
"hsl": {
"h": 225.542,
"s": 77.57,
"l": 58.039
},
"oklch": {
"l": 0.56437,
"c": 0.19613,
"h": 266.7
},
"luminance": 0.16996
}Semantic roles & 50–950 ramp
primary
#4169E7
secondary
#E3D3A1
accent
#C634F4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0D0D17
muted
#7E7E85