#2A7CC4#2A7CC4
#2A7CC4 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.3% C 0.135 H 249.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7CC4 |
|---|---|
| RGB | rgb(42, 124, 196) |
| HSL | hsl(208, 65%, 47%) |
| HSV | hsv(208, 79%, 77%) |
| CMYK | cmyk(78.6%, 36.7%, 0%, 23.1%) |
| CIE-LAB | lab(50.56, 0.89, -44.43) |
| CIE-LCH | lch(50.56, 44.44, 271.15°) |
| OKLab | oklab(57.3% -0.0481 -0.1266) |
| OKLCH | oklch(57.3% 0.135 249.2) |
| XYZ | xyz(18.1225, 18.8909, 54.9050) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.23
Bluish
#2976BB
ΔE00 2.37
Steel Blue
#4682B4
ΔE00 3.31
Cool Blue
#4984B8
ΔE00 3.69
Cerulean (survey)
#0485D1
ΔE00 3.91
Flat Blue
#3C73A8
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7CC4 #C4722A
analogous
#2AC4BF #2A7CC4 #2A2FC4
triadic
#2A7CC4 #C42A7C #7CC42A
tetradic
#2A7CC4 #BF2AC4 #C4722A #2FC42A
square
#2A7CC4 #BF2AC4 #C4722A #2FC42A
split-complementary
#2A7CC4 #C42A2F #C4BF2A
monochromatic
#143C5F #1F5C92 #2A7CC4 #519ADA #84B7E5
Accessibility & contrast
On white
4.39
#2A7CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#2A7CC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7CC4
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7CC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7CC4 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A80C7
Deuteranopia (green-blind)
#4372C3
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2a7cc4; /* rgb */ color: rgb(42, 124, 196); /* oklch */ color: oklch(57.3% 0.135 249.2);
Tailwind
colors: {
custom: {
50: '#7ba1d6',
500: '#2a7cc4',
950: '#000000',
},
}SCSS
$custom: #2a7cc4; $custom-light: #7ba1d6; $custom-dark: #000000;
JSON
{
"hex": "#2a7cc4",
"rgb": {
"r": 42,
"g": 124,
"b": 196
},
"hsl": {
"h": 208.052,
"s": 64.706,
"l": 46.667
},
"oklch": {
"l": 0.573,
"c": 0.13544,
"h": 249.2
},
"luminance": 0.18893
}Semantic roles & 50–950 ramp
primary
#2A7CC4
secondary
#CEA27C
accent
#8E40E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83