#2771AF#2771AF
#2771AF is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.4% C 0.121 H 248.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2771AF |
|---|---|
| RGB | rgb(39, 113, 175) |
| HSL | hsl(207, 64%, 42%) |
| HSV | hsv(207, 78%, 69%) |
| CMYK | cmyk(77.7%, 35.4%, 0%, 31.4%) |
| CIE-LAB | lab(46.09, -0.61, -39.39) |
| CIE-LCH | lch(46.09, 39.40, 269.12°) |
| OKLab | oklab(53.4% -0.0454 -0.1121) |
| OKLCH | oklch(53.4% 0.121 248) |
| XYZ | xyz(14.4767, 15.3350, 42.7461) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.98
Bluish
#2976BB
ΔE00 2.25
Muted Blue
#3B719F
ΔE00 2.31
Medium Blue
#2C6FBB
ΔE00 2.57
Mid Blue
#276AB3
ΔE00 3.12
Windows Blue
#3778BF
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2771AF #AF6527
analogous
#27AFA9 #2771AF #272DAF
triadic
#2771AF #AF2771 #71AF27
tetradic
#2771AF #A927AF #AF6527 #2DAF27
square
#2771AF #A927AF #AF6527 #2DAF27
split-complementary
#2771AF #AF272D #AFA927
monochromatic
#11304B #1C517D #2771AF #3F90D4 #71ADDF
Accessibility & contrast
On white
5.16
#2771AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#2771AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2771AF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2771AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2771AF | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#4068AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2771af; /* rgb */ color: rgb(39, 113, 175); /* oklch */ color: oklch(53.4% 0.121 248.0);
Tailwind
colors: {
custom: {
50: '#7599c7',
500: '#2771af',
950: '#000000',
},
}SCSS
$custom: #2771af; $custom-light: #7599c7; $custom-dark: #000000;
JSON
{
"hex": "#2771af",
"rgb": {
"r": 39,
"g": 113,
"b": 175
},
"hsl": {
"h": 207.353,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.53402,
"c": 0.12092,
"h": 248
},
"luminance": 0.15337
}Semantic roles & 50–950 ramp
primary
#2771AF
secondary
#C6956B
accent
#8D41E7
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82