#4168E2#4168E2
#4168E2 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.9% C 0.191 H 266.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4168E2 |
|---|---|
| RGB | rgb(65, 104, 226) |
| HSL | hsl(225, 74%, 57%) |
| HSV | hsv(225, 71%, 89%) |
| CMYK | cmyk(71.2%, 54%, 0%, 11.4%) |
| CIE-LAB | lab(47.64, 27.25, -66.14) |
| CIE-LCH | lch(47.64, 71.53, 292.39°) |
| OKLab | oklab(55.86% -0.011 -0.1904) |
| OKLCH | oklch(55.86% 0.191 266.7) |
| XYZ | xyz(20.8530, 16.5133, 74.0251) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 0.38
Cornflower Blue
#5170D7
ΔE00 3.09
Bright Blue
#0165FC
ΔE00 3.26
Azul
#1D5DEC
ΔE00 3.88
Cerulean Blue
#056EEE
ΔE00 4.37
Warm Blue
#4B57DB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4168E2 #E2BB41
analogous
#41B8E2 #4168E2 #6B41E2
triadic
#4168E2 #E24168 #68E241
tetradic
#4168E2 #E241B8 #E2BB41 #41E26B
square
#4168E2 #E241B8 #E2BB41 #41E26B
split-complementary
#4168E2 #E26B41 #B8E241
monochromatic
#163492 #1E47C7 #4168E2 #7692EA #ABBCF2
Accessibility & contrast
On white
4.88
#4168E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#4168E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4168E2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4168E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4168E2 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4168e2; /* rgb */ color: rgb(65, 104, 226); /* oklch */ color: oklch(55.9% 0.191 266.7);
Tailwind
colors: {
custom: {
50: '#8992ec',
500: '#4168e2',
950: '#000000',
},
}SCSS
$custom: #4168e2; $custom-light: #8992ec; $custom-dark: #000000;
JSON
{
"hex": "#4168e2",
"rgb": {
"r": 65,
"g": 104,
"b": 226
},
"hsl": {
"h": 225.466,
"s": 73.516,
"l": 57.059
},
"oklch": {
"l": 0.55864,
"c": 0.19076,
"h": 266.7
},
"luminance": 0.16515
}Semantic roles & 50–950 ramp
primary
#4168E2
secondary
#E0D09F
accent
#C338F0
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0D16
muted
#7E7D84