#40797C#40797C
#40797C is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.9% C 0.060 H 200.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #40797C |
|---|---|
| RGB | rgb(64, 121, 124) |
| HSL | hsl(183, 32%, 37%) |
| HSV | hsv(183, 48%, 49%) |
| CMYK | cmyk(48.4%, 2.4%, 0%, 51.4%) |
| CIE-LAB | lab(47.26, -17.81, -7.45) |
| CIE-LCH | lch(47.26, 19.30, 202.71°) |
| OKLab | oklab(53.86% -0.0565 -0.0205) |
| OKLCH | oklch(53.86% 0.06 200) |
| XYZ | xyz(12.5884, 16.2189, 21.5321) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 4.52
Bluegreen
#017A79
ΔE00 5.74
Deep Turquoise
#017374
ΔE00 5.87
Teal
#008080
ΔE00 5.92
Dark Aquamarine
#017371
ΔE00 6.51
Dark Cyan
#0A888A
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40797C #7C4340
analogous
#407C61 #40797C #405B7C
triadic
#40797C #7C4079 #797C40
tetradic
#40797C #61407C #7C4340 #5B7C40
square
#40797C #61407C #7C4340 #5B7C40
split-complementary
#40797C #7C405B #7C6140
monochromatic
#162A2B #2B5254 #40797C #55A0A4 #7BB8BB
Accessibility & contrast
On white
4.95
#40797C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#40797C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #40797C
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40797C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40797C | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72747C
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#1F7D7A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #40797c; /* rgb */ color: rgb(64, 121, 124); /* oklch */ color: oklch(53.9% 0.060 200.0);
Tailwind
colors: {
custom: {
50: '#7aa0a1',
500: '#40797c',
950: '#000000',
},
}SCSS
$custom: #40797c; $custom-light: #7aa0a1; $custom-dark: #000000;
JSON
{
"hex": "#40797c",
"rgb": {
"r": 64,
"g": 121,
"b": 124
},
"hsl": {
"h": 183,
"s": 31.915,
"l": 36.863
},
"oklch": {
"l": 0.5386,
"c": 0.0601,
"h": 200
},
"luminance": 0.1622
}Semantic roles & 50–950 ramp
primary
#40797C
secondary
#A67572
accent
#6560C8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0F
muted
#7B7E7E