#1F7D8A#1F7D8A
#1F7D8A is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.3% C 0.085 H 208.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7D8A |
|---|---|
| RGB | rgb(31, 125, 138) |
| HSL | hsl(187, 63%, 33%) |
| HSV | hsv(187, 78%, 54%) |
| CMYK | cmyk(77.5%, 9.4%, 0%, 45.9%) |
| CIE-LAB | lab(48.00, -21.69, -14.72) |
| CIE-LCH | lch(48.00, 26.21, 214.17°) |
| OKLab | oklab(54.33% -0.0745 -0.041) |
| OKLCH | oklch(54.33% 0.085 208.8) |
| XYZ | xyz(12.4841, 16.7920, 26.6230) |
| Luminance | 0.1679 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 3.66
Ocean
#017B92
ΔE00 3.75
Teal Blue
#01889F
ΔE00 5.22
Teal
#008080
ΔE00 6.23
Dark Cyan
#0A888A
ΔE00 6.49
Bluegreen
#017A79
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7D8A #8A2C1F
analogous
#1F8A61 #1F7D8A #1F478A
triadic
#1F7D8A #8A1F7D #7D8A1F
tetradic
#1F7D8A #611F8A #8A2C1F #478A1F
square
#1F7D8A #611F8A #8A2C1F #478A1F
split-complementary
#1F7D8A #8A1F47 #8A611F
monochromatic
#092226 #145058 #1F7D8A #2AAABC #4CC6D7
Accessibility & contrast
On white
4.82
#1F7D8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#1F7D8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7D8A
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7D8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7D8A | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #1f7d8a; /* rgb */ color: rgb(31, 125, 138); /* oklch */ color: oklch(54.3% 0.085 208.8);
Tailwind
colors: {
custom: {
50: '#6da3ac',
500: '#1f7d8a',
950: '#000000',
},
}SCSS
$custom: #1f7d8a; $custom-light: #6da3ac; $custom-dark: #000000;
JSON
{
"hex": "#1f7d8a",
"rgb": {
"r": 31,
"g": 125,
"b": 138
},
"hsl": {
"h": 187.29,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.54327,
"c": 0.08501,
"h": 208.8
},
"luminance": 0.16794
}Semantic roles & 50–950 ramp
primary
#1F7D8A
secondary
#BA594B
accent
#5541E6
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F