#4172BB#4172BB
#4172BB is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.126 H 258.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #4172BB |
|---|---|
| RGB | rgb(65, 114, 187) |
| HSL | hsl(216, 48%, 49%) |
| HSV | hsv(216, 65%, 73%) |
| CMYK | cmyk(65.2%, 39%, 0%, 26.7%) |
| CIE-LAB | lab(47.94, 7.03, -43.37) |
| CIE-LCH | lch(47.94, 43.94, 279.20°) |
| OKLab | oklab(55.31% -0.0257 -0.1234) |
| OKLCH | oklch(55.31% 0.126 258.2) |
| XYZ | xyz(17.1637, 16.7446, 49.3316) |
| Luminance | 0.1675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.53
French Blue
#436BAD
ΔE00 3.08
Windows Blue
#3778BF
ΔE00 3.10
Flat Blue
#3C73A8
ΔE00 3.27
Mid Blue
#276AB3
ΔE00 3.99
Bluish
#2976BB
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4172BB #BB8A41
analogous
#41AFBB #4172BB #4D41BB
triadic
#4172BB #BB4172 #72BB41
tetradic
#4172BB #BB41AF #BB8A41 #41BB4D
square
#4172BB #BB41AF #BB8A41 #41BB4D
split-complementary
#4172BB #BB4D41 #AFBB41
monochromatic
#213B60 #31568E #4172BB #6D93CC #9AB5DC
Accessibility & contrast
On white
4.83
#4172BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#4172BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4172BB
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4172BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4172BB | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#406DB9
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4172bb; /* rgb */ color: rgb(65, 114, 187); /* oklch */ color: oklch(55.3% 0.126 258.2);
Tailwind
colors: {
custom: {
50: '#829ad0',
500: '#4172bb',
950: '#000000',
},
}SCSS
$custom: #4172bb; $custom-light: #829ad0; $custom-dark: #000000;
JSON
{
"hex": "#4172bb",
"rgb": {
"r": 65,
"g": 114,
"b": 187
},
"hsl": {
"h": 215.902,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.5531,
"c": 0.12604,
"h": 258.2
},
"luminance": 0.16746
}Semantic roles & 50–950 ramp
primary
#4172BB
secondary
#C8B190
accent
#A150D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82