#1F7B8A#1F7B8A
#1F7B8A is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.8% C 0.085 H 211.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7B8A |
|---|---|
| RGB | rgb(31, 123, 138) |
| HSL | hsl(188, 63%, 33%) |
| HSV | hsv(188, 78%, 54%) |
| CMYK | cmyk(77.5%, 10.9%, 0%, 45.9%) |
| CIE-LAB | lab(47.35, -20.63, -15.70) |
| CIE-LCH | lch(47.35, 25.92, 217.28°) |
| OKLab | oklab(53.81% -0.0724 -0.0437) |
| OKLCH | oklch(53.81% 0.085 211.1) |
| XYZ | xyz(12.2335, 16.2907, 26.5395) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 2.82
Deep Aqua
#08787F
ΔE00 4.17
Teal Blue
#01889F
ΔE00 5.36
Sea Blue
#047495
ΔE00 7.20
Teal
#008080
ΔE00 7.25
Deep Turquoise
#017374
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7B8A #8A2E1F
analogous
#1F8A63 #1F7B8A #1F458A
triadic
#1F7B8A #8A1F7B #7B8A1F
tetradic
#1F7B8A #631F8A #8A2E1F #458A1F
square
#1F7B8A #631F8A #8A2E1F #458A1F
split-complementary
#1F7B8A #8A1F45 #8A631F
monochromatic
#092226 #144E58 #1F7B8A #2AA8BC #4CC3D7
Accessibility & contrast
On white
4.93
#1F7B8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#1F7B8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7B8A
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7B8A | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F768B
Deuteranopia (green-blind)
#606C8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #1f7b8a; /* rgb */ color: rgb(31, 123, 138); /* oklch */ color: oklch(53.8% 0.085 211.1);
Tailwind
colors: {
custom: {
50: '#6da1ac',
500: '#1f7b8a',
950: '#000000',
},
}SCSS
$custom: #1f7b8a; $custom-light: #6da1ac; $custom-dark: #000000;
JSON
{
"hex": "#1f7b8a",
"rgb": {
"r": 31,
"g": 123,
"b": 138
},
"hsl": {
"h": 188.411,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.53807,
"c": 0.08459,
"h": 211.1
},
"luminance": 0.16292
}Semantic roles & 50–950 ramp
primary
#1F7B8A
secondary
#BA5B4B
accent
#5941E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F