#2A71AB#2A71AB
#2A71AB is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.3% C 0.115 H 247.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71AB |
|---|---|
| RGB | rgb(42, 113, 171) |
| HSL | hsl(207, 61%, 42%) |
| HSV | hsv(207, 75%, 67%) |
| CMYK | cmyk(75.4%, 33.9%, 0%, 32.9%) |
| CIE-LAB | lab(45.96, -1.72, -37.25) |
| CIE-LCH | lch(45.96, 37.29, 267.35°) |
| OKLab | oklab(53.26% -0.0449 -0.1058) |
| OKLCH | oklch(53.26% 0.115 247) |
| XYZ | xyz(14.2078, 15.2411, 40.7132) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.91
Muted Blue
#3B719F
ΔE00 1.93
Bluish
#2976BB
ΔE00 2.55
Medium Blue
#2C6FBB
ΔE00 2.93
Mid Blue
#276AB3
ΔE00 3.33
Dull Blue
#49759C
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71AB #AB642A
analogous
#2AABA5 #2A71AB #2A31AB
triadic
#2A71AB #AB2A71 #71AB2A
tetradic
#2A71AB #A52AAB #AB642A #31AB2A
square
#2A71AB #A52AAB #AB642A #31AB2A
split-complementary
#2A71AB #AB2A31 #ABA52A
monochromatic
#123049 #1E517A #2A71AB #4290D1 #73ADDD
Accessibility & contrast
On white
5.19
#2A71AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#2A71AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71AB
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71AB | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5673AD
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2a71ab; /* rgb */ color: rgb(42, 113, 171); /* oklch */ color: oklch(53.3% 0.115 247.0);
Tailwind
colors: {
custom: {
50: '#7699c4',
500: '#2a71ab',
950: '#000000',
},
}SCSS
$custom: #2a71ab; $custom-light: #7699c4; $custom-dark: #000000;
JSON
{
"hex": "#2a71ab",
"rgb": {
"r": 42,
"g": 113,
"b": 171
},
"hsl": {
"h": 206.977,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.53257,
"c": 0.11492,
"h": 247
},
"luminance": 0.15243
}Semantic roles & 50–950 ramp
primary
#2A71AB
secondary
#C4946D
accent
#8C44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81