#4170BB#4170BB
#4170BB is a mid, vivid blue. Relative luminance 0.163; OKLCH L 54.9% C 0.128 H 259.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4170BB |
|---|---|
| RGB | rgb(65, 112, 187) |
| HSL | hsl(217, 48%, 49%) |
| HSV | hsv(217, 65%, 73%) |
| CMYK | cmyk(65.2%, 40.1%, 0%, 26.7%) |
| CIE-LAB | lab(47.36, 8.27, -44.28) |
| CIE-LCH | lch(47.36, 45.05, 280.57°) |
| OKLab | oklab(54.86% -0.0237 -0.1261) |
| OKLCH | oklch(54.86% 0.128 259.4) |
| XYZ | xyz(16.9406, 16.2984, 49.2572) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.46
Medium Blue
#2C6FBB
ΔE00 2.67
Flat Blue
#3C73A8
ΔE00 3.64
Mid Blue
#276AB3
ΔE00 3.78
Windows Blue
#3778BF
ΔE00 3.85
Bluish
#2976BB
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4170BB #BB8C41
analogous
#41ADBB #4170BB #4F41BB
triadic
#4170BB #BB4170 #70BB41
tetradic
#4170BB #BB41AD #BB8C41 #41BB4F
square
#4170BB #BB41AD #BB8C41 #41BB4F
split-complementary
#4170BB #BB4F41 #ADBB41
monochromatic
#213A60 #31558E #4170BB #6D92CC #9AB4DC
Accessibility & contrast
On white
4.93
#4170BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#4170BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4170BB
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4170BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4170BB | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E76BE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4170bb; /* rgb */ color: rgb(65, 112, 187); /* oklch */ color: oklch(54.9% 0.128 259.4);
Tailwind
colors: {
custom: {
50: '#8298d0',
500: '#4170bb',
950: '#000000',
},
}SCSS
$custom: #4170bb; $custom-light: #8298d0; $custom-dark: #000000;
JSON
{
"hex": "#4170bb",
"rgb": {
"r": 65,
"g": 112,
"b": 187
},
"hsl": {
"h": 216.885,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.54865,
"c": 0.12829,
"h": 259.4
},
"luminance": 0.163
}Semantic roles & 50–950 ramp
primary
#4170BB
secondary
#C8B290
accent
#A450D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82