#4168C7#4168C7
#4168C7 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.9% C 0.154 H 264.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4168C7 |
|---|---|
| RGB | rgb(65, 104, 199) |
| HSL | hsl(223, 54%, 52%) |
| HSV | hsv(223, 67%, 78%) |
| CMYK | cmyk(67.3%, 47.7%, 0%, 22%) |
| CIE-LAB | lab(45.83, 17.57, -53.66) |
| CIE-LCH | lch(45.83, 56.46, 288.13°) |
| OKLab | oklab(53.92% -0.0137 -0.1537) |
| OKLCH | oklch(53.92% 0.154 264.9) |
| XYZ | xyz(17.4355, 15.1463, 56.0264) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.39
French Blue
#436BAD
ΔE00 3.45
Cornflower Blue
#5170D7
ΔE00 4.08
Denim
#1560BD
ΔE00 4.93
Medium Blue
#2C6FBB
ΔE00 5.30
Cerulean Blue
#056EEE
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4168C7 #C7A041
analogous
#41ABC7 #4168C7 #5D41C7
triadic
#4168C7 #C74168 #68C741
tetradic
#4168C7 #C741AB #C7A041 #41C75D
square
#4168C7 #C741AB #C7A041 #41C75D
split-complementary
#4168C7 #C75D41 #ABC741
monochromatic
#20376D #2E4E9D #4168C7 #708ED5 #A0B3E3
Accessibility & contrast
On white
5.21
#4168C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#4168C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4168C7
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4168C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4168C7 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3673CB
Deuteranopia (green-blind)
#1767C5
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4168c7; /* rgb */ color: rgb(65, 104, 199); /* oklch */ color: oklch(53.9% 0.154 264.9);
Tailwind
colors: {
custom: {
50: '#8492d9',
500: '#4168c7',
950: '#000000',
},
}SCSS
$custom: #4168c7; $custom-light: #8492d9; $custom-dark: #000000;
JSON
{
"hex": "#4168c7",
"rgb": {
"r": 65,
"g": 104,
"b": 199
},
"hsl": {
"h": 222.537,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.53917,
"c": 0.15433,
"h": 264.9
},
"luminance": 0.15148
}Semantic roles & 50–950 ramp
primary
#4168C7
secondary
#CFBE95
accent
#B34ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0D15
muted
#7D7D83