#2A7CB1#2A7CB1
#2A7CB1 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.113 H 241.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7CB1 |
|---|---|
| RGB | rgb(42, 124, 177) |
| HSL | hsl(204, 62%, 43%) |
| HSV | hsv(204, 76%, 69%) |
| CMYK | cmyk(76.3%, 29.9%, 0%, 30.6%) |
| CIE-LAB | lab(49.59, -6.10, -35.03) |
| CIE-LCH | lch(49.59, 35.55, 260.11°) |
| OKLab | oklab(56.22% -0.0536 -0.0991) |
| OKLCH | oklch(56.22% 0.113 241.6) |
| XYZ | xyz(16.0952, 18.0800, 44.2280) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.67
Steel Blue
#4682B4
ΔE00 3.55
Bluish
#2976BB
ΔE00 3.76
Cerulean
#007BA7
ΔE00 4.26
Cool Blue
#4984B8
ΔE00 4.44
Flat Blue
#3C73A8
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7CB1 #B15F2A
analogous
#2AB1A3 #2A7CB1 #2A38B1
triadic
#2A7CB1 #B12A7C #7CB12A
tetradic
#2A7CB1 #A32AB1 #B15F2A #38B12A
square
#2A7CB1 #A32AB1 #B15F2A #38B12A
split-complementary
#2A7CB1 #B12A38 #B1A32A
monochromatic
#13374E #1E5980 #2A7CB1 #459BD3 #77B6DF
Accessibility & contrast
On white
4.55
#2A7CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#2A7CB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7CB1
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7CB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7CB1 | 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)
#637DB3
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2a7cb1; /* rgb */ color: rgb(42, 124, 177); /* oklch */ color: oklch(56.2% 0.113 241.6);
Tailwind
colors: {
custom: {
50: '#77a1c8',
500: '#2a7cb1',
950: '#000000',
},
}SCSS
$custom: #2a7cb1; $custom-light: #77a1c8; $custom-dark: #000000;
JSON
{
"hex": "#2a7cb1",
"rgb": {
"r": 42,
"g": 124,
"b": 177
},
"hsl": {
"h": 203.556,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.56222,
"c": 0.11271,
"h": 241.6
},
"luminance": 0.18082
}Semantic roles & 50–950 ramp
primary
#2A7CB1
secondary
#C69270
accent
#8343E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82