#2A8EC5#2A8EC5
#2A8EC5 is a mid, vivid cyan. Relative luminance 0.239; OKLCH L 61.6% C 0.121 H 238.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8EC5 |
|---|---|
| RGB | rgb(42, 142, 197) |
| HSL | hsl(201, 65%, 47%) |
| HSV | hsv(201, 79%, 77%) |
| CMYK | cmyk(78.7%, 27.9%, 0%, 22.7%) |
| CIE-LAB | lab(55.95, -9.31, -36.49) |
| CIE-LCH | lch(55.95, 37.66, 255.68°) |
| OKLab | oklab(61.58% -0.0641 -0.1032) |
| OKLCH | oklch(61.58% 0.121 238.2) |
| XYZ | xyz(20.7019, 23.8669, 56.3282) |
| Luminance | 0.2387 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 3.38
Cerulean (survey)
#0485D1
ΔE00 4.58
Cool Blue
#4984B8
ΔE00 5.33
Steel Blue
#4682B4
ΔE00 5.50
Dusty Blue
#5A86AD
ΔE00 6.40
Off Blue
#5684AE
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8EC5 #C5612A
analogous
#2AC5AF #2A8EC5 #2A41C5
triadic
#2A8EC5 #C52A8E #8EC52A
tetradic
#2A8EC5 #AF2AC5 #C5612A #41C52A
square
#2A8EC5 #AF2AC5 #C5612A #41C52A
split-complementary
#2A8EC5 #C52A41 #C5AF2A
monochromatic
#144560 #1F6A93 #2A8EC5 #52AADA #85C3E5
Accessibility & contrast
On white
3.64
#2A8EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#2A8EC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8EC5
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8EC5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8EC5 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#748EC7
Deuteranopia (green-blind)
#5F80C4
Tritanopia (blue-blind)
#009CA1
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #2a8ec5; /* rgb */ color: rgb(42, 142, 197); /* oklch */ color: oklch(61.6% 0.121 238.2);
Tailwind
colors: {
custom: {
50: '#7baed7',
500: '#2a8ec5',
950: '#000000',
},
}SCSS
$custom: #2a8ec5; $custom-light: #7baed7; $custom-dark: #000000;
JSON
{
"hex": "#2a8ec5",
"rgb": {
"r": 42,
"g": 142,
"b": 197
},
"hsl": {
"h": 201.29,
"s": 64.854,
"l": 46.863
},
"oklch": {
"l": 0.61576,
"c": 0.12147,
"h": 238.2
},
"luminance": 0.23869
}Semantic roles & 50–950 ramp
primary
#2A8EC5
secondary
#CE9A7D
accent
#7C40E8
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83