#2A7EC9#2A7EC9
#2A7EC9 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.140 H 249.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7EC9 |
|---|---|
| RGB | rgb(42, 126, 201) |
| HSL | hsl(208, 65%, 48%) |
| HSV | hsv(208, 79%, 79%) |
| CMYK | cmyk(79.1%, 37.3%, 0%, 21.2%) |
| CIE-LAB | lab(51.41, 1.54, -45.93) |
| CIE-LCH | lch(51.41, 45.95, 271.92°) |
| OKLab | oklab(58.06% -0.0485 -0.131) |
| OKLCH | oklch(58.06% 0.14 249.7) |
| XYZ | xyz(18.9543, 19.6287, 58.0368) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.79
Steel Blue
#4682B4
ΔE00 3.14
Bluish
#2976BB
ΔE00 3.24
Cool Blue
#4984B8
ΔE00 3.30
Cerulean (survey)
#0485D1
ΔE00 3.35
Water Blue
#0E87CC
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7EC9 #C9752A
analogous
#2AC9C4 #2A7EC9 #2A2EC9
triadic
#2A7EC9 #C92A7E #7EC92A
tetradic
#2A7EC9 #C42AC9 #C9752A #2EC92A
square
#2A7EC9 #C42AC9 #C9752A #2EC92A
split-complementary
#2A7EC9 #C92A2E #C9C42A
monochromatic
#153F64 #1F5E96 #2A7EC9 #559CDB #87B9E6
Accessibility & contrast
On white
4.26
#2A7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#2A7EC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7EC9
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7EC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7EC9 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B82CC
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2a7ec9; /* rgb */ color: rgb(42, 126, 201); /* oklch */ color: oklch(58.1% 0.140 249.7);
Tailwind
colors: {
custom: {
50: '#7ca2da',
500: '#2a7ec9',
950: '#000000',
},
}SCSS
$custom: #2a7ec9; $custom-light: #7ca2da; $custom-dark: #000000;
JSON
{
"hex": "#2a7ec9",
"rgb": {
"r": 42,
"g": 126,
"b": 201
},
"hsl": {
"h": 208.302,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.58058,
"c": 0.13967,
"h": 249.7
},
"luminance": 0.19631
}Semantic roles & 50–950 ramp
primary
#2A7EC9
secondary
#D0A57F
accent
#8F3FE8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F15
muted
#7C7E83