#2A8EB7#2A8EB7
#2A8EB7 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.108 H 230.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8EB7 |
|---|---|
| RGB | rgb(42, 142, 183) |
| HSL | hsl(197, 63%, 44%) |
| HSV | hsv(197, 77%, 72%) |
| CMYK | cmyk(77%, 22.4%, 0%, 28.2%) |
| CIE-LAB | lab(55.33, -14.24, -29.51) |
| CIE-LCH | lch(55.33, 32.77, 244.24°) |
| OKLab | oklab(60.88% -0.0689 -0.083) |
| OKLCH | oklch(60.88% 0.108 230.3) |
| XYZ | xyz(19.1716, 23.2548, 48.2688) |
| Luminance | 0.2326 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.52
Water Blue
#0E87CC
ΔE00 6.84
Cerulean
#007BA7
ΔE00 7.21
Steel Blue
#4682B4
ΔE00 7.29
Dusty Blue
#5A86AD
ΔE00 7.43
Cool Blue
#4984B8
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8EB7 #B7532A
analogous
#2AB79A #2A8EB7 #2A47B7
triadic
#2A8EB7 #B72A8E #8EB72A
tetradic
#2A8EB7 #9A2AB7 #B7532A #47B72A
square
#2A8EB7 #9A2AB7 #B7532A #47B72A
split-complementary
#2A8EB7 #B72A47 #B79A2A
monochromatic
#134153 #1F6785 #2A8EB7 #49ACD5 #7BC3E1
Accessibility & contrast
On white
3.72
#2A8EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#2A8EB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8EB7
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8EB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8EB7 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#798CB9
Deuteranopia (green-blind)
#667FB6
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #2a8eb7; /* rgb */ color: rgb(42, 142, 183); /* oklch */ color: oklch(60.9% 0.108 230.3);
Tailwind
colors: {
custom: {
50: '#79afcc',
500: '#2a8eb7',
950: '#000000',
},
}SCSS
$custom: #2a8eb7; $custom-light: #79afcc; $custom-dark: #000000;
JSON
{
"hex": "#2a8eb7",
"rgb": {
"r": 42,
"g": 142,
"b": 183
},
"hsl": {
"h": 197.447,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.60878,
"c": 0.10787,
"h": 230.3
},
"luminance": 0.23257
}Semantic roles & 50–950 ramp
primary
#2A8EB7
secondary
#C98D74
accent
#7242E6
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82