#1F7C8B#1F7C8B
#1F7C8B is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.1% C 0.085 H 211.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7C8B |
|---|---|
| RGB | rgb(31, 124, 139) |
| HSL | hsl(188, 64%, 33%) |
| HSV | hsv(188, 78%, 55%) |
| CMYK | cmyk(77.7%, 10.8%, 0%, 45.5%) |
| CIE-LAB | lab(47.71, -20.82, -15.75) |
| CIE-LCH | lch(47.71, 26.11, 217.09°) |
| OKLab | oklab(54.11% -0.073 -0.0439) |
| OKLCH | oklch(54.11% 0.085 211) |
| XYZ | xyz(12.4309, 16.5692, 26.9641) |
| Luminance | 0.1657 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 2.87
Deep Aqua
#08787F
ΔE00 4.26
Teal Blue
#01889F
ΔE00 5.04
Teal
#008080
ΔE00 7.15
Dirty Blue
#3F829D
ΔE00 7.21
Sea Blue
#047495
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7C8B #8B2E1F
analogous
#1F8B64 #1F7C8B #1F468B
triadic
#1F7C8B #8B1F7C #7C8B1F
tetradic
#1F7C8B #641F8B #8B2E1F #468B1F
square
#1F7C8B #641F8B #8B2E1F #468B1F
split-complementary
#1F7C8B #8B1F46 #8B641F
monochromatic
#092327 #144F59 #1F7C8B #2AA9BD #4DC4D7
Accessibility & contrast
On white
4.87
#1F7C8B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#1F7C8B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7C8B
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7C8B | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70778C
Deuteranopia (green-blind)
#616D8B
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f7c8b; /* rgb */ color: rgb(31, 124, 139); /* oklch */ color: oklch(54.1% 0.085 211.0);
Tailwind
colors: {
custom: {
50: '#6da2ac',
500: '#1f7c8b',
950: '#000000',
},
}SCSS
$custom: #1f7c8b; $custom-light: #6da2ac; $custom-dark: #000000;
JSON
{
"hex": "#1f7c8b",
"rgb": {
"r": 31,
"g": 124,
"b": 139
},
"hsl": {
"h": 188.333,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.54109,
"c": 0.08516,
"h": 211
},
"luminance": 0.16571
}Semantic roles & 50–950 ramp
primary
#1F7C8B
secondary
#BA5B4C
accent
#5841E7
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F