#2A7E8D#2A7E8D
#2A7E8D is a mid, moderate teal. Relative luminance 0.173; OKLCH L 55.0% C 0.081 H 211.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7E8D |
|---|---|
| RGB | rgb(42, 126, 141) |
| HSL | hsl(189, 54%, 36%) |
| HSV | hsv(189, 70%, 55%) |
| CMYK | cmyk(70.2%, 10.6%, 0%, 44.7%) |
| CIE-LAB | lab(48.68, -19.72, -15.43) |
| CIE-LCH | lch(48.68, 25.04, 218.03°) |
| OKLab | oklab(54.99% -0.0692 -0.0429) |
| OKLCH | oklch(54.99% 0.081 211.8) |
| XYZ | xyz(13.2214, 17.3355, 27.8434) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 3.11
Teal Blue
#01889F
ΔE00 4.39
Deep Aqua
#08787F
ΔE00 5.09
Dirty Blue
#3F829D
ΔE00 6.42
Dark Cyan
#0A888A
ΔE00 7.36
Teal
#008080
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7E8D #8D392A
analogous
#2A8D6A #2A7E8D #2A4C8D
triadic
#2A7E8D #8D2A7E #7E8D2A
tetradic
#2A7E8D #6A2A8D #8D392A #4C8D2A
square
#2A7E8D #6A2A8D #8D392A #4C8D2A
split-complementary
#2A7E8D #8D2A4C #8D6A2A
monochromatic
#0E2A2F #1C545E #2A7E8D #38A8BC #61BFD0
Accessibility & contrast
On white
4.70
#2A7E8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#2A7E8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7E8D
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7E8D | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#727A8E
Deuteranopia (green-blind)
#646F8D
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2a7e8d; /* rgb */ color: rgb(42, 126, 141); /* oklch */ color: oklch(55.0% 0.081 211.8);
Tailwind
colors: {
custom: {
50: '#72a3ae',
500: '#2a7e8d',
950: '#000000',
},
}SCSS
$custom: #2a7e8d; $custom-light: #72a3ae; $custom-dark: #000000;
JSON
{
"hex": "#2a7e8d",
"rgb": {
"r": 42,
"g": 126,
"b": 141
},
"hsl": {
"h": 189.091,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.54986,
"c": 0.08143,
"h": 211.8
},
"luminance": 0.17337
}Semantic roles & 50–950 ramp
primary
#2A7E8D
secondary
#B66A5D
accent
#614ADD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F