#2771B2#2771B2
#2771B2 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.6% C 0.125 H 249.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2771B2 |
|---|---|
| RGB | rgb(39, 113, 178) |
| HSL | hsl(208, 64%, 43%) |
| HSV | hsv(208, 78%, 70%) |
| CMYK | cmyk(78.1%, 36.5%, 0%, 30.2%) |
| CIE-LAB | lab(46.25, 0.52, -40.89) |
| CIE-LCH | lch(46.25, 40.89, 270.73°) |
| OKLab | oklab(53.58% -0.0446 -0.1164) |
| OKLCH | oklch(53.58% 0.125 249.1) |
| XYZ | xyz(14.7746, 15.4542, 44.3151) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.94
Bluish
#2976BB
ΔE00 2.03
Medium Blue
#2C6FBB
ΔE00 2.14
Muted Blue
#3B719F
ΔE00 2.54
Mid Blue
#276AB3
ΔE00 2.89
Windows Blue
#3778BF
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2771B2 #B26827
analogous
#27B2AE #2771B2 #272BB2
triadic
#2771B2 #B22771 #71B227
tetradic
#2771B2 #AE27B2 #B26827 #2BB227
square
#2771B2 #AE27B2 #B26827 #2BB227
split-complementary
#2771B2 #B2272B #B2AE27
monochromatic
#11314E #1C5180 #2771B2 #4190D5 #73ADE0
Accessibility & contrast
On white
5.13
#2771B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#2771B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2771B2
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2771B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2771B2 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2771b2; /* rgb */ color: rgb(39, 113, 178); /* oklch */ color: oklch(53.6% 0.125 249.1);
Tailwind
colors: {
custom: {
50: '#7699c9',
500: '#2771b2',
950: '#000000',
},
}SCSS
$custom: #2771b2; $custom-light: #7699c9; $custom-dark: #000000;
JSON
{
"hex": "#2771b2",
"rgb": {
"r": 39,
"g": 113,
"b": 178
},
"hsl": {
"h": 208.058,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.53581,
"c": 0.12468,
"h": 249.1
},
"luminance": 0.15456
}Semantic roles & 50–950 ramp
primary
#2771B2
secondary
#C8976D
accent
#8F41E7
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82