#2A8FA1#2A8FA1
#2A8FA1 is a mid, moderate teal. Relative luminance 0.227; OKLCH L 60.1% C 0.093 H 212.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8FA1 |
|---|---|
| RGB | rgb(42, 143, 161) |
| HSL | hsl(189, 59%, 40%) |
| HSV | hsv(189, 74%, 63%) |
| CMYK | cmyk(73.9%, 11.2%, 0%, 36.9%) |
| CIE-LAB | lab(54.77, -22.19, -17.78) |
| CIE-LCH | lch(54.77, 28.44, 218.71°) |
| OKLab | oklab(60.14% -0.0785 -0.0495) |
| OKLCH | oklch(60.14% 0.093 212.2) |
| XYZ | xyz(17.2076, 22.7083, 37.1876) |
| Luminance | 0.2271 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Teal Blue
#01889F
ΔE00 3.20
Dirty Blue
#3F829D
ΔE00 7.13
Dark Cyan
#0A888A
ΔE00 7.67
Ocean
#017B92
ΔE00 7.77
Darkcyan
#008B8B
ΔE00 8.24
Cadetblue
#5F9EA0
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8FA1 #A13C2A
analogous
#2AA178 #2A8FA1 #2A53A1
triadic
#2A8FA1 #A12A8F #8FA12A
tetradic
#2A8FA1 #782AA1 #A13C2A #53A12A
square
#2A8FA1 #782AA1 #A13C2A #53A12A
split-complementary
#2A8FA1 #A12A53 #A1782A
monochromatic
#113940 #1D6470 #2A8FA1 #3CB6CC #6DC8D9
Accessibility & contrast
On white
3.79
#2A8FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#2A8FA1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8FA1
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8FA1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8FA1 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#818AA2
Deuteranopia (green-blind)
#717EA1
Tritanopia (blue-blind)
#009694
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2a8fa1; /* rgb */ color: rgb(42, 143, 161); /* oklch */ color: oklch(60.1% 0.093 212.2);
Tailwind
colors: {
custom: {
50: '#76b0bc',
500: '#2a8fa1',
950: '#000000',
},
}SCSS
$custom: #2a8fa1; $custom-light: #76b0bc; $custom-dark: #000000;
JSON
{
"hex": "#2a8fa1",
"rgb": {
"r": 42,
"g": 143,
"b": 161
},
"hsl": {
"h": 189.076,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.60138,
"c": 0.09286,
"h": 212.2
},
"luminance": 0.2271
}Semantic roles & 50–950 ramp
primary
#2A8FA1
secondary
#C07567
accent
#5E46E2
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81