#2A787C#2A787C
#2A787C is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.075 H 200.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A787C |
|---|---|
| RGB | rgb(42, 120, 124) |
| HSL | hsl(183, 49%, 33%) |
| HSV | hsv(183, 66%, 49%) |
| CMYK | cmyk(66.1%, 3.2%, 0%, 51.4%) |
| CIE-LAB | lab(46.15, -21.97, -9.20) |
| CIE-LCH | lch(46.15, 23.82, 202.71°) |
| OKLab | oklab(52.74% -0.0702 -0.0255) |
| OKLCH | oklch(52.74% 0.075 200) |
| XYZ | xyz(11.3078, 15.3792, 21.4374) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.96
Deep Turquoise
#017374
ΔE00 3.51
Bluegreen
#017A79
ΔE00 3.60
Teal
#008080
ΔE00 4.20
Dark Aquamarine
#017371
ΔE00 4.41
Dark Aqua
#05696B
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A787C #7C2E2A
analogous
#2A7C57 #2A787C #2A4F7C
triadic
#2A787C #7C2A78 #787C2A
tetradic
#2A787C #572A7C #7C2E2A #4F7C2A
square
#2A787C #572A7C #7C2E2A #4F7C2A
split-complementary
#2A787C #7C2A4F #7C572A
monochromatic
#0B2021 #1B4C4E #2A787C #39A4AA #59C2C7
Accessibility & contrast
On white
5.15
#2A787C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#2A787C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A787C
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A787C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A787C | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F737C
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2a787c; /* rgb */ color: rgb(42, 120, 124); /* oklch */ color: oklch(52.7% 0.075 200.0);
Tailwind
colors: {
custom: {
50: '#6f9fa1',
500: '#2a787c',
950: '#000000',
},
}SCSS
$custom: #2a787c; $custom-light: #6f9fa1; $custom-dark: #000000;
JSON
{
"hex": "#2a787c",
"rgb": {
"r": 42,
"g": 120,
"b": 124
},
"hsl": {
"h": 182.927,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.52744,
"c": 0.07467,
"h": 200
},
"luminance": 0.1538
}Semantic roles & 50–950 ramp
primary
#2A787C
secondary
#AD5A55
accent
#564FD9
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E