#2A71A7#2A71A7
#2A71A7 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.0% C 0.110 H 245.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71A7 |
|---|---|
| RGB | rgb(42, 113, 167) |
| HSL | hsl(206, 60%, 41%) |
| HSV | hsv(206, 75%, 65%) |
| CMYK | cmyk(74.9%, 32.3%, 0%, 34.5%) |
| CIE-LAB | lab(45.76, -3.20, -35.23) |
| CIE-LCH | lch(45.76, 35.38, 264.81°) |
| OKLab | oklab(53.03% -0.0461 -0.0999) |
| OKLCH | oklch(53.03% 0.11 245.2) |
| XYZ | xyz(13.8323, 15.0909, 38.7356) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.78
Flat Blue
#3C73A8
ΔE00 2.28
Bluish
#2976BB
ΔE00 3.07
Medium Blue
#2C6FBB
ΔE00 3.62
Dull Blue
#49759C
ΔE00 3.82
Mid Blue
#276AB3
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71A7 #A7602A
analogous
#2AA79E #2A71A7 #2A32A7
triadic
#2A71A7 #A72A71 #71A72A
tetradic
#2A71A7 #9E2AA7 #A7602A #32A72A
square
#2A71A7 #9E2AA7 #A7602A #32A72A
split-complementary
#2A71A7 #A72A32 #A79E2A
monochromatic
#112F45 #1E5076 #2A71A7 #3F91CF #70ADDB
Accessibility & contrast
On white
5.23
#2A71A7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#2A71A7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71A7
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71A7 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5873A9
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2a71a7; /* rgb */ color: rgb(42, 113, 167); /* oklch */ color: oklch(53.0% 0.110 245.2);
Tailwind
colors: {
custom: {
50: '#7599c1',
500: '#2a71a7',
950: '#000000',
},
}SCSS
$custom: #2a71a7; $custom-light: #7599c1; $custom-dark: #000000;
JSON
{
"hex": "#2a71a7",
"rgb": {
"r": 42,
"g": 113,
"b": 167
},
"hsl": {
"h": 205.92,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.53029,
"c": 0.11002,
"h": 245.2
},
"luminance": 0.15093
}Semantic roles & 50–950 ramp
primary
#2A71A7
secondary
#C2906B
accent
#8945E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81