#4271B9#4271B9
#4271B9 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.0% C 0.124 H 258.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4271B9 |
|---|---|
| RGB | rgb(66, 113, 185) |
| HSL | hsl(216, 47%, 49%) |
| HSV | hsv(216, 64%, 73%) |
| CMYK | cmyk(64.3%, 38.9%, 0%, 27.5%) |
| CIE-LAB | lab(47.58, 7.12, -42.77) |
| CIE-LCH | lch(47.58, 43.36, 279.45°) |
| OKLab | oklab(55.01% -0.0243 -0.1216) |
| OKLCH | oklch(55.01% 0.124 258.7) |
| XYZ | xyz(16.9057, 16.4697, 48.1776) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.61
French Blue
#436BAD
ΔE00 2.62
Flat Blue
#3C73A8
ΔE00 3.36
Windows Blue
#3778BF
ΔE00 3.53
Mid Blue
#276AB3
ΔE00 3.84
Bluish
#2976BB
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4271B9 #B98A42
analogous
#42ACB9 #4271B9 #4F42B9
triadic
#4271B9 #B94271 #71B942
tetradic
#4271B9 #B942AC #B98A42 #42B94F
square
#4271B9 #B942AC #B98A42 #42B94F
split-complementary
#4271B9 #B94F42 #ACB942
monochromatic
#223A5F #32558C #4271B9 #6D92CB #9AB4DB
Accessibility & contrast
On white
4.89
#4271B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#4271B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4271B9
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4271B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4271B9 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5177BC
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4271b9; /* rgb */ color: rgb(66, 113, 185); /* oklch */ color: oklch(55.0% 0.124 258.7);
Tailwind
colors: {
custom: {
50: '#8299ce',
500: '#4271b9',
950: '#000000',
},
}SCSS
$custom: #4271b9; $custom-light: #8299ce; $custom-dark: #000000;
JSON
{
"hex": "#4271b9",
"rgb": {
"r": 66,
"g": 113,
"b": 185
},
"hsl": {
"h": 216.303,
"s": 47.41,
"l": 49.216
},
"oklch": {
"l": 0.55013,
"c": 0.12403,
"h": 258.7
},
"luminance": 0.16471
}Semantic roles & 50–950 ramp
primary
#4271B9
secondary
#C7B190
accent
#A251D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82