#2171AF#2171AF
#2171AF is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.123 H 246.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2171AF |
|---|---|
| RGB | rgb(33, 113, 175) |
| HSL | hsl(206, 68%, 41%) |
| HSV | hsv(206, 81%, 69%) |
| CMYK | cmyk(81.1%, 35.4%, 0%, 31.4%) |
| CIE-LAB | lab(45.94, -1.27, -39.63) |
| CIE-LCH | lch(45.94, 39.66, 268.16°) |
| OKLab | oklab(53.25% -0.0483 -0.1128) |
| OKLCH | oklch(53.25% 0.123 246.8) |
| XYZ | xyz(14.2672, 15.2270, 42.7363) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 2.41
Bluish
#2976BB
ΔE00 2.46
Muted Blue
#3B719F
ΔE00 2.52
Medium Blue
#2C6FBB
ΔE00 3.08
Mid Blue
#276AB3
ΔE00 3.49
Windows Blue
#3778BF
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2171AF #AF5F21
analogous
#21AFA6 #2171AF #212AAF
triadic
#2171AF #AF2171 #71AF21
tetradic
#2171AF #A621AF #AF5F21 #2AAF21
square
#2171AF #A621AF #AF5F21 #2AAF21
split-complementary
#2171AF #AF212A #AFA621
monochromatic
#0E2F48 #17507C #2171AF #3491D9 #68ADE3
Accessibility & contrast
On white
5.19
#2171AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#2171AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2171AF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2171AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2171AF | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2171af; /* rgb */ color: rgb(33, 113, 175); /* oklch */ color: oklch(53.2% 0.123 246.8);
Tailwind
colors: {
custom: {
50: '#7499c7',
500: '#2171af',
950: '#000000',
},
}SCSS
$custom: #2171af; $custom-light: #7499c7; $custom-dark: #000000;
JSON
{
"hex": "#2171af",
"rgb": {
"r": 33,
"g": 113,
"b": 175
},
"hsl": {
"h": 206.197,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.53246,
"c": 0.12276,
"h": 246.8
},
"luminance": 0.15229
}Semantic roles & 50–950 ramp
primary
#2171AF
secondary
#C89064
accent
#893DEB
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82