#2A71A8#2A71A8
#2A71A8 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.111 H 245.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71A8 |
|---|---|
| RGB | rgb(42, 113, 168) |
| HSL | hsl(206, 60%, 41%) |
| HSV | hsv(206, 75%, 66%) |
| CMYK | cmyk(75%, 32.7%, 0%, 34.1%) |
| CIE-LAB | lab(45.81, -2.83, -35.74) |
| CIE-LCH | lch(45.81, 35.85, 265.47°) |
| OKLab | oklab(53.09% -0.0458 -0.1014) |
| OKLCH | oklch(53.09% 0.111 245.7) |
| XYZ | xyz(13.9251, 15.1280, 39.2243) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.80
Flat Blue
#3C73A8
ΔE00 2.17
Bluish
#2976BB
ΔE00 2.93
Medium Blue
#2C6FBB
ΔE00 3.44
Mid Blue
#276AB3
ΔE00 3.70
Dull Blue
#49759C
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71A8 #A8612A
analogous
#2AA8A0 #2A71A8 #2A32A8
triadic
#2A71A8 #A82A71 #71A82A
tetradic
#2A71A8 #A02AA8 #A8612A #32A82A
square
#2A71A8 #A02AA8 #A8612A #32A82A
split-complementary
#2A71A8 #A82A32 #A8A02A
monochromatic
#122F46 #1E5077 #2A71A8 #4091CF #71ADDB
Accessibility & contrast
On white
5.22
#2A71A8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2A71A8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71A8
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71A8 | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#4667A7
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2a71a8; /* rgb */ color: rgb(42, 113, 168); /* oklch */ color: oklch(53.1% 0.111 245.7);
Tailwind
colors: {
custom: {
50: '#7599c2',
500: '#2a71a8',
950: '#000000',
},
}SCSS
$custom: #2a71a8; $custom-light: #7599c2; $custom-dark: #000000;
JSON
{
"hex": "#2a71a8",
"rgb": {
"r": 42,
"g": 113,
"b": 168
},
"hsl": {
"h": 206.19,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.53086,
"c": 0.11123,
"h": 245.7
},
"luminance": 0.1513
}Semantic roles & 50–950 ramp
primary
#2A71A8
secondary
#C3916B
accent
#8A45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81