#4271C0#4271C0
#4271C0 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.4% C 0.134 H 260.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4271C0 |
|---|---|
| RGB | rgb(66, 113, 192) |
| HSL | hsl(218, 50%, 51%) |
| HSV | hsv(218, 66%, 75%) |
| CMYK | cmyk(65.6%, 41.1%, 0%, 24.7%) |
| CIE-LAB | lab(47.97, 9.59, -46.20) |
| CIE-LCH | lch(47.97, 47.18, 281.72°) |
| OKLab | oklab(55.44% -0.0228 -0.1317) |
| OKLCH | oklch(55.44% 0.134 260.2) |
| XYZ | xyz(17.6629, 16.7726, 52.1655) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 3.09
French Blue
#436BAD
ΔE00 3.09
Windows Blue
#3778BF
ΔE00 3.76
Flat Blue
#3C73A8
ΔE00 4.05
Mid Blue
#276AB3
ΔE00 4.38
Cornflower Blue
#5170D7
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4271C0 #C09142
analogous
#42B0C0 #4271C0 #5242C0
triadic
#4271C0 #C04271 #71C042
tetradic
#4271C0 #C042B0 #C09142 #42C052
square
#4271C0 #C042B0 #C09142 #42C052
split-complementary
#4271C0 #C05242 #B0C042
monochromatic
#223B66 #315694 #4271C0 #7093CF #9EB6DF
Accessibility & contrast
On white
4.82
#4271C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#4271C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4271C0
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4271C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4271C0 | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D78C3
Deuteranopia (green-blind)
#3A6CBE
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4271c0; /* rgb */ color: rgb(66, 113, 192); /* oklch */ color: oklch(55.4% 0.134 260.2);
Tailwind
colors: {
custom: {
50: '#8399d3',
500: '#4271c0',
950: '#000000',
},
}SCSS
$custom: #4271c0; $custom-light: #8399d3; $custom-dark: #000000;
JSON
{
"hex": "#4271c0",
"rgb": {
"r": 66,
"g": 113,
"b": 192
},
"hsl": {
"h": 217.619,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.55439,
"c": 0.13362,
"h": 260.2
},
"luminance": 0.16774
}Semantic roles & 50–950 ramp
primary
#4271C0
secondary
#CBB693
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83