#2A7AB1#2A7AB1
#2A7AB1 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.114 H 243.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7AB1 |
|---|---|
| RGB | rgb(42, 122, 177) |
| HSL | hsl(204, 62%, 43%) |
| HSV | hsv(204, 76%, 69%) |
| CMYK | cmyk(76.3%, 31.1%, 0%, 30.6%) |
| CIE-LAB | lab(48.99, -4.92, -35.98) |
| CIE-LCH | lch(48.99, 36.31, 262.21°) |
| OKLab | oklab(55.74% -0.0517 -0.1019) |
| OKLCH | oklch(55.74% 0.114 243.1) |
| XYZ | xyz(15.8471, 17.5838, 44.1453) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.94
Bluish
#2976BB
ΔE00 2.91
Flat Blue
#3C73A8
ΔE00 3.81
Steel Blue
#4682B4
ΔE00 3.86
Windows Blue
#3778BF
ΔE00 3.97
Muted Blue
#3B719F
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7AB1 #B1612A
analogous
#2AB1A4 #2A7AB1 #2A37B1
triadic
#2A7AB1 #B12A7A #7AB12A
tetradic
#2A7AB1 #A42AB1 #B1612A #37B12A
square
#2A7AB1 #A42AB1 #B1612A #37B12A
split-complementary
#2A7AB1 #B12A37 #B1A42A
monochromatic
#13364E #1E5880 #2A7AB1 #4599D3 #77B4DF
Accessibility & contrast
On white
4.65
#2A7AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#2A7AB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7AB1
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7AB1 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617BB3
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2a7ab1; /* rgb */ color: rgb(42, 122, 177); /* oklch */ color: oklch(55.7% 0.114 243.1);
Tailwind
colors: {
custom: {
50: '#77a0c8',
500: '#2a7ab1',
950: '#000000',
},
}SCSS
$custom: #2a7ab1; $custom-light: #77a0c8; $custom-dark: #000000;
JSON
{
"hex": "#2a7ab1",
"rgb": {
"r": 42,
"g": 122,
"b": 177
},
"hsl": {
"h": 204.444,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.55743,
"c": 0.11431,
"h": 243.1
},
"luminance": 0.17586
}Semantic roles & 50–950 ramp
primary
#2A7AB1
secondary
#C69370
accent
#8543E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82