#2A71B2#2A71B2
#2A71B2 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.7% C 0.124 H 249.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71B2 |
|---|---|
| RGB | rgb(42, 113, 178) |
| HSL | hsl(209, 62%, 43%) |
| HSV | hsv(209, 76%, 70%) |
| CMYK | cmyk(76.4%, 36.5%, 0%, 30.2%) |
| CIE-LAB | lab(46.33, 0.88, -40.75) |
| CIE-LCH | lch(46.33, 40.76, 271.24°) |
| OKLab | oklab(53.67% -0.0429 -0.116) |
| OKLCH | oklch(53.67% 0.124 249.7) |
| XYZ | xyz(14.8928, 15.5151, 44.3207) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.77
Medium Blue
#2C6FBB
ΔE00 1.87
Bluish
#2976BB
ΔE00 2.02
Muted Blue
#3B719F
ΔE00 2.51
Mid Blue
#276AB3
ΔE00 2.75
Windows Blue
#3778BF
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71B2 #B26B2A
analogous
#2AB2AF #2A71B2 #2A2DB2
triadic
#2A71B2 #B22A71 #71B22A
tetradic
#2A71B2 #AF2AB2 #B26B2A #2DB22A
square
#2A71B2 #AF2AB2 #B26B2A #2DB22A
split-complementary
#2A71B2 #B22A2D #B2AF2A
monochromatic
#13324F #1E5280 #2A71B2 #4690D3 #77ADDF
Accessibility & contrast
On white
5.12
#2A71B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#2A71B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71B2
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71B2 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a71b2; /* rgb */ color: rgb(42, 113, 178); /* oklch */ color: oklch(53.7% 0.124 249.7);
Tailwind
colors: {
custom: {
50: '#7799c9',
500: '#2a71b2',
950: '#000000',
},
}SCSS
$custom: #2a71b2; $custom-light: #7799c9; $custom-dark: #000000;
JSON
{
"hex": "#2a71b2",
"rgb": {
"r": 42,
"g": 113,
"b": 178
},
"hsl": {
"h": 208.676,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.53668,
"c": 0.12371,
"h": 249.7
},
"luminance": 0.15517
}Semantic roles & 50–950 ramp
primary
#2A71B2
secondary
#C79A71
accent
#9043E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82