#1F7E8B#1F7E8B
#1F7E8B is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.6% C 0.086 H 208.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7E8B |
|---|---|
| RGB | rgb(31, 126, 139) |
| HSL | hsl(187, 64%, 33%) |
| HSV | hsv(187, 78%, 55%) |
| CMYK | cmyk(77.7%, 9.4%, 0%, 45.5%) |
| CIE-LAB | lab(48.36, -21.88, -14.77) |
| CIE-LCH | lch(48.36, 26.40, 214.02°) |
| OKLab | oklab(54.63% -0.0751 -0.0411) |
| OKLCH | oklch(54.63% 0.086 208.7) |
| XYZ | xyz(12.6841, 17.0756, 27.0485) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 3.84
Ocean
#017B92
ΔE00 3.86
Teal Blue
#01889F
ΔE00 4.95
Teal
#008080
ΔE00 6.17
Dark Cyan
#0A888A
ΔE00 6.25
Bluegreen
#017A79
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7E8B #8B2C1F
analogous
#1F8B62 #1F7E8B #1F488B
triadic
#1F7E8B #8B1F7E #7E8B1F
tetradic
#1F7E8B #621F8B #8B2C1F #488B1F
square
#1F7E8B #621F8B #8B2C1F #488B1F
split-complementary
#1F7E8B #8B1F48 #8B621F
monochromatic
#092327 #145159 #1F7E8B #2AABBD #4DC7D7
Accessibility & contrast
On white
4.76
#1F7E8B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#1F7E8B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7E8B
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7E8B | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72798C
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #1f7e8b; /* rgb */ color: rgb(31, 126, 139); /* oklch */ color: oklch(54.6% 0.086 208.7);
Tailwind
colors: {
custom: {
50: '#6ea3ac',
500: '#1f7e8b',
950: '#000000',
},
}SCSS
$custom: #1f7e8b; $custom-light: #6ea3ac; $custom-dark: #000000;
JSON
{
"hex": "#1f7e8b",
"rgb": {
"r": 31,
"g": 126,
"b": 139
},
"hsl": {
"h": 187.222,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.54628,
"c": 0.08559,
"h": 208.7
},
"luminance": 0.17077
}Semantic roles & 50–950 ramp
primary
#1F7E8B
secondary
#BA594C
accent
#5541E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F