#4171BF#4171BF
#4171BF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.133 H 259.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4171BF |
|---|---|
| RGB | rgb(65, 113, 191) |
| HSL | hsl(217, 50%, 50%) |
| HSV | hsv(217, 66%, 75%) |
| CMYK | cmyk(66%, 40.8%, 0%, 25.1%) |
| CIE-LAB | lab(47.87, 9.06, -45.79) |
| CIE-LCH | lch(47.87, 46.67, 281.19°) |
| OKLab | oklab(55.33% -0.0238 -0.1305) |
| OKLCH | oklch(55.33% 0.133 259.6) |
| XYZ | xyz(17.4857, 16.6940, 51.5809) |
| Luminance | 0.1670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.86
French Blue
#436BAD
ΔE00 3.02
Windows Blue
#3778BF
ΔE00 3.61
Flat Blue
#3C73A8
ΔE00 3.84
Mid Blue
#276AB3
ΔE00 4.18
Bluish
#2976BB
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4171BF #BF8F41
analogous
#41B0BF #4171BF #5041BF
triadic
#4171BF #BF4171 #71BF41
tetradic
#4171BF #BF41B0 #BF8F41 #41BF50
square
#4171BF #BF41B0 #BF8F41 #41BF50
split-complementary
#4171BF #BF5041 #B0BF41
monochromatic
#223B64 #315692 #4171BF #6F93CE #9DB5DE
Accessibility & contrast
On white
4.84
#4171BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#4171BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4171BF
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4171BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4171BF | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#3A6CBD
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4171bf; /* rgb */ color: rgb(65, 113, 191); /* oklch */ color: oklch(55.3% 0.133 259.6);
Tailwind
colors: {
custom: {
50: '#8299d3',
500: '#4171bf',
950: '#000000',
},
}SCSS
$custom: #4171bf; $custom-light: #8299d3; $custom-dark: #000000;
JSON
{
"hex": "#4171bf",
"rgb": {
"r": 65,
"g": 113,
"b": 191
},
"hsl": {
"h": 217.143,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.55331,
"c": 0.13262,
"h": 259.6
},
"luminance": 0.16696
}Semantic roles & 50–950 ramp
primary
#4171BF
secondary
#CAB592
accent
#A44FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83