#2A7ABD#2A7ABD
#2A7ABD is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.4% C 0.129 H 248.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7ABD |
|---|---|
| RGB | rgb(42, 122, 189) |
| HSL | hsl(207, 64%, 45%) |
| HSV | hsv(207, 78%, 74%) |
| CMYK | cmyk(77.8%, 35.4%, 0%, 25.9%) |
| CIE-LAB | lab(49.60, -0.50, -41.94) |
| CIE-LCH | lch(49.60, 41.95, 269.31°) |
| OKLab | oklab(56.42% -0.0482 -0.1194) |
| OKLCH | oklch(56.42% 0.129 248) |
| XYZ | xyz(17.0962, 18.0834, 50.7237) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.55
Windows Blue
#3778BF
ΔE00 2.16
Flat Blue
#3C73A8
ΔE00 3.61
Steel Blue
#4682B4
ΔE00 3.64
Nice Blue
#107AB0
ΔE00 4.04
Cool Blue
#4984B8
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7ABD #BD6D2A
analogous
#2ABDB6 #2A7ABD #2A31BD
triadic
#2A7ABD #BD2A7A #7ABD2A
tetradic
#2A7ABD #B62ABD #BD6D2A #31BD2A
square
#2A7ABD #B62ABD #BD6D2A #31BD2A
split-complementary
#2A7ABD #BD2A31 #BDB62A
monochromatic
#143959 #1F5A8B #2A7ABD #4D98D7 #7FB5E3
Accessibility & contrast
On white
4.55
#2A7ABD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#2A7ABD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7ABD
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7ABD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7ABD | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7DC0
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2a7abd; /* rgb */ color: rgb(42, 122, 189); /* oklch */ color: oklch(56.4% 0.129 248.0);
Tailwind
colors: {
custom: {
50: '#79a0d1',
500: '#2a7abd',
950: '#000000',
},
}SCSS
$custom: #2a7abd; $custom-light: #79a0d1; $custom-dark: #000000;
JSON
{
"hex": "#2a7abd",
"rgb": {
"r": 42,
"g": 122,
"b": 189
},
"hsl": {
"h": 207.347,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.56423,
"c": 0.12871,
"h": 248
},
"luminance": 0.18085
}Semantic roles & 50–950 ramp
primary
#2A7ABD
secondary
#CB9E78
accent
#8D41E7
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82