#4271BB#4271BB
#4271BB is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.1% C 0.127 H 259.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4271BB |
|---|---|
| RGB | rgb(66, 113, 187) |
| HSL | hsl(217, 48%, 50%) |
| HSV | hsv(217, 65%, 73%) |
| CMYK | cmyk(64.7%, 39.6%, 0%, 26.7%) |
| CIE-LAB | lab(47.69, 7.82, -43.76) |
| CIE-LCH | lch(47.69, 44.45, 280.14°) |
| OKLab | oklab(55.13% -0.0239 -0.1245) |
| OKLCH | oklch(55.13% 0.127 259.1) |
| XYZ | xyz(17.1183, 16.5547, 49.2973) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.73
French Blue
#436BAD
ΔE00 2.73
Flat Blue
#3C73A8
ΔE00 3.56
Windows Blue
#3778BF
ΔE00 3.58
Mid Blue
#276AB3
ΔE00 3.98
Bluish
#2976BB
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4271BB #BB8C42
analogous
#42AEBB #4271BB #4F42BB
triadic
#4271BB #BB4271 #71BB42
tetradic
#4271BB #BB42AE #BB8C42 #42BB4F
square
#4271BB #BB42AE #BB8C42 #42BB4F
split-complementary
#4271BB #BB4F42 #AEBB42
monochromatic
#223A61 #32568E #4271BB #6E93CC #9CB5DC
Accessibility & contrast
On white
4.87
#4271BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#4271BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4271BB
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4271BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4271BB | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4271bb; /* rgb */ color: rgb(66, 113, 187); /* oklch */ color: oklch(55.1% 0.127 259.1);
Tailwind
colors: {
custom: {
50: '#8299d0',
500: '#4271bb',
950: '#000000',
},
}SCSS
$custom: #4271bb; $custom-light: #8299d0; $custom-dark: #000000;
JSON
{
"hex": "#4271bb",
"rgb": {
"r": 66,
"g": 113,
"b": 187
},
"hsl": {
"h": 216.694,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.55133,
"c": 0.12677,
"h": 259.1
},
"luminance": 0.16556
}Semantic roles & 50–950 ramp
primary
#4271BB
secondary
#C8B391
accent
#A350D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82