#3271B5#3271B5
#3271B5 is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.125 H 252.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3271B5 |
|---|---|
| RGB | rgb(50, 113, 181) |
| HSL | hsl(211, 57%, 45%) |
| HSV | hsv(211, 72%, 71%) |
| CMYK | cmyk(72.4%, 37.6%, 0%, 29%) |
| CIE-LAB | lab(46.74, 3.07, -41.83) |
| CIE-LCH | lch(46.74, 41.95, 274.20°) |
| OKLab | oklab(54.11% -0.0372 -0.1191) |
| OKLCH | oklch(54.11% 0.125 252.6) |
| XYZ | xyz(15.5579, 15.8228, 45.9413) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.95
Flat Blue
#3C73A8
ΔE00 1.76
Bluish
#2976BB
ΔE00 2.32
Mid Blue
#276AB3
ΔE00 2.51
Windows Blue
#3778BF
ΔE00 2.77
Muted Blue
#3B719F
ΔE00 2.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3271B5 #B57632
analogous
#32B2B5 #3271B5 #3432B5
triadic
#3271B5 #B53271 #71B532
tetradic
#3271B5 #B532B2 #B57632 #32B534
square
#3271B5 #B532B2 #B57632 #32B534
split-complementary
#3271B5 #B53432 #B2B532
monochromatic
#183555 #255385 #3271B5 #5490D0 #84AFDD
Accessibility & contrast
On white
5.04
#3271B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#3271B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3271B5
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3271B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3271B5 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5275B8
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3271b5; /* rgb */ color: rgb(50, 113, 181); /* oklch */ color: oklch(54.1% 0.125 252.6);
Tailwind
colors: {
custom: {
50: '#7a99cb',
500: '#3271b5',
950: '#000000',
},
}SCSS
$custom: #3271b5; $custom-light: #7a99cb; $custom-dark: #000000;
JSON
{
"hex": "#3271b5",
"rgb": {
"r": 50,
"g": 113,
"b": 181
},
"hsl": {
"h": 211.145,
"s": 56.71,
"l": 45.294
},
"oklch": {
"l": 0.54111,
"c": 0.12478,
"h": 252.6
},
"luminance": 0.15825
}Semantic roles & 50–950 ramp
primary
#3271B5
secondary
#C7A37C
accent
#9748E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82