#2271C1#2271C1
#2271C1 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.145 H 252.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2271C1 |
|---|---|
| RGB | rgb(34, 113, 193) |
| HSL | hsl(210, 70%, 45%) |
| HSV | hsv(210, 82%, 76%) |
| CMYK | cmyk(82.4%, 41.5%, 0%, 24.3%) |
| CIE-LAB | lab(46.97, 5.71, -48.43) |
| CIE-LCH | lch(46.97, 48.77, 276.73°) |
| OKLab | oklab(54.38% -0.0433 -0.1386) |
| OKLCH | oklch(54.38% 0.145 252.7) |
| XYZ | xyz(16.1868, 15.9986, 52.6766) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.17
Bluish
#2976BB
ΔE00 2.11
Windows Blue
#3778BF
ΔE00 2.66
Flat Blue
#3C73A8
ΔE00 2.78
Mid Blue
#276AB3
ΔE00 2.89
Muted Blue
#3B719F
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2271C1 #C17222
analogous
#22C0C1 #2271C1 #2322C1
triadic
#2271C1 #C12271 #71C122
tetradic
#2271C1 #C122C0 #C17222 #22C123
square
#2271C1 #C122C0 #C17222 #22C123
split-complementary
#2271C1 #C12322 #C0C122
monochromatic
#103459 #19538D #2271C1 #4290DE #76AEE7
Accessibility & contrast
On white
5.00
#2271C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#2271C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2271C1
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2271C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2271C1 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4977C4
Deuteranopia (green-blind)
#2D69BF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2271c1; /* rgb */ color: rgb(34, 113, 193); /* oklch */ color: oklch(54.4% 0.145 252.7);
Tailwind
colors: {
custom: {
50: '#7899d4',
500: '#2271c1',
950: '#000000',
},
}SCSS
$custom: #2271c1; $custom-light: #7899d4; $custom-dark: #000000;
JSON
{
"hex": "#2271c1",
"rgb": {
"r": 34,
"g": 113,
"b": 193
},
"hsl": {
"h": 210.189,
"s": 70.044,
"l": 44.51
},
"oklch": {
"l": 0.54385,
"c": 0.14524,
"h": 252.7
},
"luminance": 0.16001
}Semantic roles & 50–950 ramp
primary
#2271C1
secondary
#CEA071
accent
#943BED
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0A0D14
muted
#7C7E83