#4271AB#4271AB
#4271AB is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.2% C 0.105 H 254.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4271AB |
|---|---|
| RGB | rgb(66, 113, 171) |
| HSL | hsl(213, 44%, 46%) |
| HSV | hsv(213, 61%, 67%) |
| CMYK | cmyk(61.4%, 33.9%, 0%, 32.9%) |
| CIE-LAB | lab(46.85, 2.25, -35.79) |
| CIE-LCH | lch(46.85, 35.86, 273.60°) |
| OKLab | oklab(54.2% -0.0279 -0.1012) |
| OKLCH | oklch(54.2% 0.105 254.6) |
| XYZ | xyz(15.4999, 15.9074, 40.7738) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.94
Medium Blue
#2C6FBB
ΔE00 2.37
French Blue
#436BAD
ΔE00 2.58
Muted Blue
#3B719F
ΔE00 2.96
Mid Blue
#276AB3
ΔE00 3.24
Dull Blue
#49759C
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4271AB #AB7C42
analogous
#42A6AB #4271AB #4842AB
triadic
#4271AB #AB4271 #71AB42
tetradic
#4271AB #AB42A6 #AB7C42 #42AB48
square
#4271AB #AB42A6 #AB7C42 #42AB48
split-complementary
#4271AB #AB4842 #A6AB42
monochromatic
#203753 #31547F #4271AB #6690C4 #92B0D5
Accessibility & contrast
On white
5.02
#4271AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#4271AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4271AB
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4271AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4271AB | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5875AD
Deuteranopia (green-blind)
#4A6BAA
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4271ab; /* rgb */ color: rgb(66, 113, 171); /* oklch */ color: oklch(54.2% 0.105 254.6);
Tailwind
colors: {
custom: {
50: '#8099c4',
500: '#4271ab',
950: '#000000',
},
}SCSS
$custom: #4271ab; $custom-light: #8099c4; $custom-dark: #000000;
JSON
{
"hex": "#4271ab",
"rgb": {
"r": 66,
"g": 113,
"b": 171
},
"hsl": {
"h": 213.143,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.54203,
"c": 0.10499,
"h": 254.6
},
"luminance": 0.15909
}Semantic roles & 50–950 ramp
primary
#4271AB
secondary
#C0A788
accent
#9B54D4
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81