#4271B5#4271B5
#4271B5 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 54.8% C 0.119 H 257.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4271B5 |
|---|---|
| RGB | rgb(66, 113, 181) |
| HSL | hsl(215, 47%, 48%) |
| HSV | hsv(215, 64%, 71%) |
| CMYK | cmyk(63.5%, 37.6%, 0%, 29%) |
| CIE-LAB | lab(47.37, 5.72, -40.80) |
| CIE-LCH | lch(47.37, 41.19, 277.98°) |
| OKLab | oklab(54.78% -0.0253 -0.1158) |
| OKLCH | oklch(54.78% 0.119 257.7) |
| XYZ | xyz(16.4894, 16.3032, 45.9849) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.42
French Blue
#436BAD
ΔE00 2.46
Flat Blue
#3C73A8
ΔE00 2.96
Windows Blue
#3778BF
ΔE00 3.47
Mid Blue
#276AB3
ΔE00 3.59
Muted Blue
#3B719F
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4271B5 #B58642
analogous
#42AAB5 #4271B5 #4C42B5
triadic
#4271B5 #B54271 #71B542
tetradic
#4271B5 #B542AA #B58642 #42B54C
square
#4271B5 #B542AA #B58642 #42B54C
split-complementary
#4271B5 #B54C42 #AAB542
monochromatic
#21395B #325588 #4271B5 #6B92C9 #98B3D9
Accessibility & contrast
On white
4.93
#4271B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#4271B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4271B5
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4271B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4271B5 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5376B8
Deuteranopia (green-blind)
#436BB4
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4271b5; /* rgb */ color: rgb(66, 113, 181); /* oklch */ color: oklch(54.8% 0.119 257.7);
Tailwind
colors: {
custom: {
50: '#8199cb',
500: '#4271b5',
950: '#000000',
},
}SCSS
$custom: #4271b5; $custom-light: #8199cb; $custom-dark: #000000;
JSON
{
"hex": "#4271b5",
"rgb": {
"r": 66,
"g": 113,
"b": 181
},
"hsl": {
"h": 215.478,
"s": 46.559,
"l": 48.431
},
"oklch": {
"l": 0.54776,
"c": 0.11856,
"h": 257.7
},
"luminance": 0.16305
}Semantic roles & 50–950 ramp
primary
#4271B5
secondary
#C5AE8E
accent
#A052D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82