#2A71AA#2A71AA
#2A71AA is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.2% C 0.114 H 246.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2A71AA |
|---|---|
| RGB | rgb(42, 113, 170) |
| HSL | hsl(207, 60%, 42%) |
| HSV | hsv(207, 75%, 67%) |
| CMYK | cmyk(75.3%, 33.5%, 0%, 33.3%) |
| CIE-LAB | lab(45.91, -2.09, -36.75) |
| CIE-LCH | lch(45.91, 36.81, 266.74°) |
| OKLab | oklab(53.2% -0.0452 -0.1043) |
| OKLCH | oklch(53.2% 0.114 246.6) |
| XYZ | xyz(14.1129, 15.2031, 40.2131) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.87
Flat Blue
#3C73A8
ΔE00 1.98
Bluish
#2976BB
ΔE00 2.67
Medium Blue
#2C6FBB
ΔE00 3.10
Mid Blue
#276AB3
ΔE00 3.44
Dull Blue
#49759C
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A71AA #AA632A
analogous
#2AAAA3 #2A71AA #2A31AA
triadic
#2A71AA #AA2A71 #71AA2A
tetradic
#2A71AA #A32AAA #AA632A #31AA2A
square
#2A71AA #A32AAA #AA632A #31AA2A
split-complementary
#2A71AA #AA2A31 #AAA32A
monochromatic
#123048 #1E5079 #2A71AA #4190D0 #72ADDC
Accessibility & contrast
On white
5.20
#2A71AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#2A71AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A71AA
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A71AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A71AA | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5773AC
Deuteranopia (green-blind)
#4567A9
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2a71aa; /* rgb */ color: rgb(42, 113, 170); /* oklch */ color: oklch(53.2% 0.114 246.6);
Tailwind
colors: {
custom: {
50: '#7599c3',
500: '#2a71aa',
950: '#000000',
},
}SCSS
$custom: #2a71aa; $custom-light: #7599c3; $custom-dark: #000000;
JSON
{
"hex": "#2a71aa",
"rgb": {
"r": 42,
"g": 113,
"b": 170
},
"hsl": {
"h": 206.719,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.532,
"c": 0.11368,
"h": 246.6
},
"luminance": 0.15205
}Semantic roles & 50–950 ramp
primary
#2A71AA
secondary
#C3936C
accent
#8B44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81