#4271BC#4271BC
#4271BC is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.128 H 259.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4271BC |
|---|---|
| RGB | rgb(66, 113, 188) |
| HSL | hsl(217, 48%, 50%) |
| HSV | hsv(217, 65%, 74%) |
| CMYK | cmyk(64.9%, 39.9%, 0%, 26.3%) |
| CIE-LAB | lab(47.75, 8.17, -44.25) |
| CIE-LCH | lch(47.75, 45.00, 280.47°) |
| OKLab | oklab(55.19% -0.0237 -0.1259) |
| OKLCH | oklch(55.19% 0.128 259.4) |
| XYZ | xyz(17.2258, 16.5977, 49.8631) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.79
French Blue
#436BAD
ΔE00 2.79
Windows Blue
#3778BF
ΔE00 3.61
Flat Blue
#3C73A8
ΔE00 3.65
Mid Blue
#276AB3
ΔE00 4.06
Bluish
#2976BB
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4271BC #BC8D42
analogous
#42AEBC #4271BC #5042BC
triadic
#4271BC #BC4271 #71BC42
tetradic
#4271BC #BC42AE #BC8D42 #42BC50
square
#4271BC #BC42AE #BC8D42 #42BC50
split-complementary
#4271BC #BC5042 #AEBC42
monochromatic
#223B61 #32568F #4271BC #6F93CC #9CB5DC
Accessibility & contrast
On white
4.86
#4271BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#4271BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4271BC
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4271BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4271BC | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4271bc; /* rgb */ color: rgb(66, 113, 188); /* oklch */ color: oklch(55.2% 0.128 259.4);
Tailwind
colors: {
custom: {
50: '#8299d0',
500: '#4271bc',
950: '#000000',
},
}SCSS
$custom: #4271bc; $custom-light: #8299d0; $custom-dark: #000000;
JSON
{
"hex": "#4271bc",
"rgb": {
"r": 66,
"g": 113,
"b": 188
},
"hsl": {
"h": 216.885,
"s": 48.031,
"l": 49.804
},
"oklch": {
"l": 0.55194,
"c": 0.12814,
"h": 259.4
},
"luminance": 0.16599
}Semantic roles & 50–950 ramp
primary
#4271BC
secondary
#C9B391
accent
#A350D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82