#2A8FAB#2A8FAB
#2A8FAB is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 60.6% C 0.098 H 220.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8FAB |
|---|---|
| RGB | rgb(42, 143, 171) |
| HSL | hsl(193, 61%, 42%) |
| HSV | hsv(193, 75%, 67%) |
| CMYK | cmyk(75.4%, 16.4%, 0%, 32.9%) |
| CIE-LAB | lab(55.15, -18.89, -22.94) |
| CIE-LCH | lch(55.15, 29.71, 230.53°) |
| OKLab | oklab(60.57% -0.0745 -0.0641) |
| OKLCH | oklch(60.57% 0.098 220.7) |
| XYZ | xyz(18.1249, 23.0753, 42.0189) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 3.90
Dirty Blue
#3F829D
ΔE00 5.16
Ocean
#017B92
ΔE00 7.97
Cerulean
#007BA7
ΔE00 9.05
Greyish Blue
#5E819D
ΔE00 10.01
Dusty Blue
#5A86AD
ΔE00 10.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8FAB #AB462A
analogous
#2AAB87 #2A8FAB #2A4FAB
triadic
#2A8FAB #AB2A8F #8FAB2A
tetradic
#2A8FAB #872AAB #AB462A #4FAB2A
square
#2A8FAB #872AAB #AB462A #4FAB2A
split-complementary
#2A8FAB #AB2A4F #AB872A
monochromatic
#123D49 #1E667A #2A8FAB #42B2D1 #73C6DD
Accessibility & contrast
On white
3.74
#2A8FAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#2A8FAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8FAB
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8FAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8FAB | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8BAC
Deuteranopia (green-blind)
#6D7FAB
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #2a8fab; /* rgb */ color: rgb(42, 143, 171); /* oklch */ color: oklch(60.6% 0.098 220.7);
Tailwind
colors: {
custom: {
50: '#77b0c4',
500: '#2a8fab',
950: '#000000',
},
}SCSS
$custom: #2a8fab; $custom-light: #77b0c4; $custom-dark: #000000;
JSON
{
"hex": "#2a8fab",
"rgb": {
"r": 42,
"g": 143,
"b": 171
},
"hsl": {
"h": 193.023,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.60568,
"c": 0.09828,
"h": 220.7
},
"luminance": 0.23077
}Semantic roles & 50–950 ramp
primary
#2A8FAB
secondary
#C4806D
accent
#6744E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81