#4271BA#4271BA
#4271BA is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.125 H 258.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4271BA |
|---|---|
| RGB | rgb(66, 113, 186) |
| HSL | hsl(217, 48%, 49%) |
| HSV | hsv(217, 65%, 73%) |
| CMYK | cmyk(64.5%, 39.2%, 0%, 27.1%) |
| CIE-LAB | lab(47.64, 7.47, -43.27) |
| CIE-LCH | lch(47.64, 43.91, 279.80°) |
| OKLab | oklab(55.07% -0.0241 -0.1231) |
| OKLCH | oklch(55.07% 0.125 258.9) |
| XYZ | xyz(17.0117, 16.5121, 48.7355) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.66
French Blue
#436BAD
ΔE00 2.67
Flat Blue
#3C73A8
ΔE00 3.46
Windows Blue
#3778BF
ΔE00 3.56
Mid Blue
#276AB3
ΔE00 3.91
Bluish
#2976BB
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4271BA #BA8B42
analogous
#42ADBA #4271BA #4F42BA
triadic
#4271BA #BA4271 #71BA42
tetradic
#4271BA #BA42AD #BA8B42 #42BA4F
square
#4271BA #BA42AD #BA8B42 #42BA4F
split-complementary
#4271BA #BA4F42 #ADBA42
monochromatic
#223A60 #32568D #4271BA #6E92CB #9BB4DB
Accessibility & contrast
On white
4.88
#4271BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#4271BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4271BA
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4271BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4271BA | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #4271ba; /* rgb */ color: rgb(66, 113, 186); /* oklch */ color: oklch(55.1% 0.125 258.9);
Tailwind
colors: {
custom: {
50: '#8299cf',
500: '#4271ba',
950: '#000000',
},
}SCSS
$custom: #4271ba; $custom-light: #8299cf; $custom-dark: #000000;
JSON
{
"hex": "#4271ba",
"rgb": {
"r": 66,
"g": 113,
"b": 186
},
"hsl": {
"h": 216.5,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.55073,
"c": 0.1254,
"h": 258.9
},
"luminance": 0.16514
}Semantic roles & 50–950 ramp
primary
#4271BA
secondary
#C8B290
accent
#A251D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82