#4170BA#4170BA
#4170BA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 54.8% C 0.127 H 259.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4170BA |
|---|---|
| RGB | rgb(65, 112, 186) |
| HSL | hsl(217, 48%, 49%) |
| HSV | hsv(217, 65%, 73%) |
| CMYK | cmyk(65.1%, 39.8%, 0%, 27.1%) |
| CIE-LAB | lab(47.31, 7.91, -43.79) |
| CIE-LCH | lch(47.31, 44.50, 280.24°) |
| OKLab | oklab(54.8% -0.0239 -0.1246) |
| OKLCH | oklch(54.8% 0.127 259.1) |
| XYZ | xyz(16.8339, 16.2557, 48.6954) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.39
Medium Blue
#2C6FBB
ΔE00 2.60
Flat Blue
#3C73A8
ΔE00 3.55
Mid Blue
#276AB3
ΔE00 3.70
Windows Blue
#3778BF
ΔE00 3.83
Bluish
#2976BB
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4170BA #BA8B41
analogous
#41ADBA #4170BA #4F41BA
triadic
#4170BA #BA4170 #70BA41
tetradic
#4170BA #BA41AD #BA8B41 #41BA4F
square
#4170BA #BA41AD #BA8B41 #41BA4F
split-complementary
#4170BA #BA4F41 #ADBA41
monochromatic
#21395F #31558D #4170BA #6C91CC #9AB3DC
Accessibility & contrast
On white
4.94
#4170BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#4170BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4170BA
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4170BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4170BA | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4170ba; /* rgb */ color: rgb(65, 112, 186); /* oklch */ color: oklch(54.8% 0.127 259.1);
Tailwind
colors: {
custom: {
50: '#8298cf',
500: '#4170ba',
950: '#000000',
},
}SCSS
$custom: #4170ba; $custom-light: #8298cf; $custom-dark: #000000;
JSON
{
"hex": "#4170ba",
"rgb": {
"r": 65,
"g": 112,
"b": 186
},
"hsl": {
"h": 216.694,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.54804,
"c": 0.12691,
"h": 259.1
},
"luminance": 0.16257
}Semantic roles & 50–950 ramp
primary
#4170BA
secondary
#C8B28F
accent
#A350D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82