#2271BB#2271BB
#2271BB is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.0% C 0.138 H 251.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2271BB |
|---|---|
| RGB | rgb(34, 113, 187) |
| HSL | hsl(209, 69%, 43%) |
| HSV | hsv(209, 82%, 73%) |
| CMYK | cmyk(81.8%, 39.6%, 0%, 26.7%) |
| CIE-LAB | lab(46.63, 3.41, -45.52) |
| CIE-LCH | lch(46.63, 45.65, 274.28°) |
| OKLab | oklab(54% -0.0447 -0.1301) |
| OKLCH | oklch(54% 0.138 251) |
| XYZ | xyz(15.5310, 15.7363, 49.2229) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.48
Bluish
#2976BB
ΔE00 1.86
Flat Blue
#3C73A8
ΔE00 2.41
Mid Blue
#276AB3
ΔE00 2.78
Windows Blue
#3778BF
ΔE00 2.93
Muted Blue
#3B719F
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2271BB #BB6C22
analogous
#22BBB8 #2271BB #2224BB
triadic
#2271BB #BB2271 #71BB22
tetradic
#2271BB #B822BB #BB6C22 #24BB22
square
#2271BB #B822BB #BB6C22 #24BB22
split-complementary
#2271BB #BB2224 #BBB822
monochromatic
#0F3253 #195287 #2271BB #3E90DC #72AEE5
Accessibility & contrast
On white
5.06
#2271BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2271BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2271BB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2271BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2271BB | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D76BE
Deuteranopia (green-blind)
#3468BA
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2271bb; /* rgb */ color: rgb(34, 113, 187); /* oklch */ color: oklch(54.0% 0.138 251.0);
Tailwind
colors: {
custom: {
50: '#7699d0',
500: '#2271bb',
950: '#000000',
},
}SCSS
$custom: #2271bb; $custom-light: #7699d0; $custom-dark: #000000;
JSON
{
"hex": "#2271bb",
"rgb": {
"r": 34,
"g": 113,
"b": 187
},
"hsl": {
"h": 209.02,
"s": 69.231,
"l": 43.333
},
"oklch": {
"l": 0.54003,
"c": 0.13755,
"h": 251
},
"luminance": 0.15738
}Semantic roles & 50–950 ramp
primary
#2271BB
secondary
#CC9B6D
accent
#913CEC
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D14
muted
#7C7E82