#1F7981#1F7981
#1F7981 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.081 H 203.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7981 |
|---|---|
| RGB | rgb(31, 121, 129) |
| HSL | hsl(185, 61%, 31%) |
| HSV | hsv(185, 76%, 51%) |
| CMYK | cmyk(76%, 6.2%, 0%, 49.4%) |
| CIE-LAB | lab(46.38, -22.56, -11.85) |
| CIE-LCH | lch(46.38, 25.48, 207.72°) |
| OKLab | oklab(52.91% -0.0743 -0.0329) |
| OKLCH | oklch(52.91% 0.081 203.9) |
| XYZ | xyz(11.3631, 15.5497, 23.1671) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 1.38
Deep Turquoise
#017374
ΔE00 4.37
Bluegreen
#017A79
ΔE00 4.55
Teal
#008080
ΔE00 4.76
Dark Aquamarine
#017371
ΔE00 5.49
Ocean
#017B92
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7981 #81271F
analogous
#1F8158 #1F7981 #1F4881
triadic
#1F7981 #811F79 #79811F
tetradic
#1F7981 #581F81 #81271F #48811F
square
#1F7981 #581F81 #81271F #48811F
split-complementary
#1F7981 #811F48 #81581F
monochromatic
#071C1E #134B50 #1F7981 #2BA7B2 #47C8D3
Accessibility & contrast
On white
5.11
#1F7981 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#1F7981 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7981
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7981 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7981 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F7482
Deuteranopia (green-blind)
#616A81
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7981; /* rgb */ color: rgb(31, 121, 129); /* oklch */ color: oklch(52.9% 0.081 203.9);
Tailwind
colors: {
custom: {
50: '#6ca0a5',
500: '#1f7981',
950: '#000000',
},
}SCSS
$custom: #1f7981; $custom-light: #6ca0a5; $custom-dark: #000000;
JSON
{
"hex": "#1f7981",
"rgb": {
"r": 31,
"g": 121,
"b": 129
},
"hsl": {
"h": 184.898,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.5291,
"c": 0.08128,
"h": 203.9
},
"luminance": 0.15551
}Semantic roles & 50–950 ramp
primary
#1F7981
secondary
#B45148
accent
#5143E4
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F