#4172BF#4172BF
#4172BF is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.131 H 259.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4172BF |
|---|---|
| RGB | rgb(65, 114, 191) |
| HSL | hsl(217, 50%, 50%) |
| HSV | hsv(217, 66%, 75%) |
| CMYK | cmyk(66%, 40.3%, 0%, 25.1%) |
| CIE-LAB | lab(48.16, 8.44, -45.33) |
| CIE-LCH | lch(48.16, 46.11, 280.55°) |
| OKLab | oklab(55.55% -0.0248 -0.1291) |
| OKLCH | oklch(55.55% 0.131 259.1) |
| XYZ | xyz(17.5979, 16.9183, 51.6183) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.82
Windows Blue
#3778BF
ΔE00 3.25
French Blue
#436BAD
ΔE00 3.31
Flat Blue
#3C73A8
ΔE00 3.69
Mid Blue
#276AB3
ΔE00 4.29
Bluish
#2976BB
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4172BF #BF8E41
analogous
#41B1BF #4172BF #4F41BF
triadic
#4172BF #BF4172 #72BF41
tetradic
#4172BF #BF41B1 #BF8E41 #41BF4F
square
#4172BF #BF41B1 #BF8E41 #41BF4F
split-complementary
#4172BF #BF4F41 #B1BF41
monochromatic
#223B64 #315792 #4172BF #6F94CE #9DB6DE
Accessibility & contrast
On white
4.79
#4172BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#4172BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4172BF
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4172BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4172BF | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#3C6DBD
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4172bf; /* rgb */ color: rgb(65, 114, 191); /* oklch */ color: oklch(55.6% 0.131 259.1);
Tailwind
colors: {
custom: {
50: '#829ad3',
500: '#4172bf',
950: '#000000',
},
}SCSS
$custom: #4172bf; $custom-light: #829ad3; $custom-dark: #000000;
JSON
{
"hex": "#4172bf",
"rgb": {
"r": 65,
"g": 114,
"b": 191
},
"hsl": {
"h": 216.667,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.55552,
"c": 0.13149,
"h": 259.1
},
"luminance": 0.1692
}Semantic roles & 50–950 ramp
primary
#4172BF
secondary
#CAB492
accent
#A34FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83