#1F7C8A#1F7C8A
#1F7C8A is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.1% C 0.085 H 210.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7C8A |
|---|---|
| RGB | rgb(31, 124, 138) |
| HSL | hsl(188, 63%, 33%) |
| HSV | hsv(188, 78%, 54%) |
| CMYK | cmyk(77.5%, 10.1%, 0%, 45.9%) |
| CIE-LAB | lab(47.68, -21.16, -15.21) |
| CIE-LCH | lch(47.68, 26.06, 215.72°) |
| OKLab | oklab(54.07% -0.0734 -0.0423) |
| OKLCH | oklch(54.07% 0.085 210) |
| XYZ | xyz(12.3582, 16.5401, 26.5811) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 3.27
Deep Aqua
#08787F
ΔE00 3.88
Teal Blue
#01889F
ΔE00 5.26
Teal
#008080
ΔE00 6.74
Dark Cyan
#0A888A
ΔE00 7.06
Deep Turquoise
#017374
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7C8A #8A2D1F
analogous
#1F8A62 #1F7C8A #1F478A
triadic
#1F7C8A #8A1F7C #7C8A1F
tetradic
#1F7C8A #621F8A #8A2D1F #478A1F
square
#1F7C8A #621F8A #8A2D1F #478A1F
split-complementary
#1F7C8A #8A1F47 #8A621F
monochromatic
#092226 #144F58 #1F7C8A #2AA9BC #4CC5D7
Accessibility & contrast
On white
4.87
#1F7C8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#1F7C8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7C8A
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7C8A | 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)
#70778B
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #1f7c8a; /* rgb */ color: rgb(31, 124, 138); /* oklch */ color: oklch(54.1% 0.085 210.0);
Tailwind
colors: {
custom: {
50: '#6da2ac',
500: '#1f7c8a',
950: '#000000',
},
}SCSS
$custom: #1f7c8a; $custom-light: #6da2ac; $custom-dark: #000000;
JSON
{
"hex": "#1f7c8a",
"rgb": {
"r": 31,
"g": 124,
"b": 138
},
"hsl": {
"h": 187.85,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.54067,
"c": 0.08478,
"h": 210
},
"luminance": 0.16542
}Semantic roles & 50–950 ramp
primary
#1F7C8A
secondary
#BA5A4B
accent
#5741E6
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F