#2A7AAA#2A7AAA
#2A7AAA is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.4% C 0.106 H 239.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7AAA |
|---|---|
| RGB | rgb(42, 122, 170) |
| HSL | hsl(203, 60%, 42%) |
| HSV | hsv(203, 75%, 67%) |
| CMYK | cmyk(75.3%, 28.2%, 0%, 33.3%) |
| CIE-LAB | lab(48.65, -7.46, -32.44) |
| CIE-LCH | lch(48.65, 33.29, 257.04°) |
| OKLab | oklab(55.36% -0.0539 -0.0917) |
| OKLCH | oklch(55.36% 0.106 239.5) |
| XYZ | xyz(15.1672, 17.3118, 40.5646) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.27
Cerulean
#007BA7
ΔE00 3.20
Bluish
#2976BB
ΔE00 4.37
Muted Blue
#3B719F
ΔE00 4.38
Ocean Blue (survey)
#03719C
ΔE00 4.49
Steel Blue
#4682B4
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7AAA #AA5A2A
analogous
#2AAA9A #2A7AAA #2A3AAA
triadic
#2A7AAA #AA2A7A #7AAA2A
tetradic
#2A7AAA #9A2AAA #AA5A2A #3AAA2A
square
#2A7AAA #9A2AAA #AA5A2A #3AAA2A
split-complementary
#2A7AAA #AA2A3A #AA9A2A
monochromatic
#123448 #1E5779 #2A7AAA #419AD0 #72B4DC
Accessibility & contrast
On white
4.71
#2A7AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#2A7AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7AAA
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7AAA | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#637AAC
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2a7aaa; /* rgb */ color: rgb(42, 122, 170); /* oklch */ color: oklch(55.4% 0.106 239.5);
Tailwind
colors: {
custom: {
50: '#76a0c3',
500: '#2a7aaa',
950: '#000000',
},
}SCSS
$custom: #2a7aaa; $custom-light: #76a0c3; $custom-dark: #000000;
JSON
{
"hex": "#2a7aaa",
"rgb": {
"r": 42,
"g": 122,
"b": 170
},
"hsl": {
"h": 202.5,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.55365,
"c": 0.10636,
"h": 239.5
},
"luminance": 0.17314
}Semantic roles & 50–950 ramp
primary
#2A7AAA
secondary
#C38D6C
accent
#8044E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81