#2A71A9#2A71A9
#2A71A9 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.1% C 0.112 H 246.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71A9 |
|---|---|
| RGB | rgb(42, 113, 169) |
| HSL | hsl(206, 60%, 41%) |
| HSV | hsv(206, 75%, 66%) |
| CMYK | cmyk(75.1%, 33.1%, 0%, 33.7%) |
| CIE-LAB | lab(45.86, -2.46, -36.25) |
| CIE-LCH | lch(45.86, 36.33, 266.11°) |
| OKLab | oklab(53.14% -0.0455 -0.1028) |
| OKLCH | oklch(53.14% 0.112 246.1) |
| XYZ | xyz(14.0187, 15.1655, 39.7168) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.83
Flat Blue
#3C73A8
ΔE00 2.07
Bluish
#2976BB
ΔE00 2.79
Medium Blue
#2C6FBB
ΔE00 3.27
Mid Blue
#276AB3
ΔE00 3.57
Dull Blue
#49759C
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71A9 #A9622A
analogous
#2AA9A2 #2A71A9 #2A31A9
triadic
#2A71A9 #A92A71 #71A92A
tetradic
#2A71A9 #A22AA9 #A9622A #31A92A
square
#2A71A9 #A22AA9 #A9622A #31A92A
split-complementary
#2A71A9 #A92A31 #A9A22A
monochromatic
#122F47 #1E5078 #2A71A9 #4191D0 #72ADDC
Accessibility & contrast
On white
5.21
#2A71A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2A71A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71A9
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71A9 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2a71a9; /* rgb */ color: rgb(42, 113, 169); /* oklch */ color: oklch(53.1% 0.112 246.1);
Tailwind
colors: {
custom: {
50: '#7599c3',
500: '#2a71a9',
950: '#000000',
},
}SCSS
$custom: #2a71a9; $custom-light: #7599c3; $custom-dark: #000000;
JSON
{
"hex": "#2a71a9",
"rgb": {
"r": 42,
"g": 113,
"b": 169
},
"hsl": {
"h": 206.457,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.53143,
"c": 0.11246,
"h": 246.1
},
"luminance": 0.15167
}Semantic roles & 50–950 ramp
primary
#2A71A9
secondary
#C3926C
accent
#8B44E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81