#1F7A8A#1F7A8A
#1F7A8A is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.5% C 0.084 H 212.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7A8A |
|---|---|
| RGB | rgb(31, 122, 138) |
| HSL | hsl(189, 63%, 33%) |
| HSV | hsv(189, 78%, 54%) |
| CMYK | cmyk(77.5%, 11.6%, 0%, 45.9%) |
| CIE-LAB | lab(47.03, -20.09, -16.19) |
| CIE-LCH | lch(47.03, 25.80, 218.86°) |
| OKLab | oklab(53.55% -0.0714 -0.0451) |
| OKLCH | oklch(53.55% 0.084 212.3) |
| XYZ | xyz(12.1101, 16.0439, 26.4984) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 2.42
Deep Aqua
#08787F
ΔE00 4.52
Teal Blue
#01889F
ΔE00 5.52
Sea Blue
#047495
ΔE00 6.66
Dirty Blue
#3F829D
ΔE00 7.11
Deep Turquoise
#017374
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7A8A #8A2F1F
analogous
#1F8A64 #1F7A8A #1F448A
triadic
#1F7A8A #8A1F7A #7A8A1F
tetradic
#1F7A8A #641F8A #8A2F1F #448A1F
square
#1F7A8A #641F8A #8A2F1F #448A1F
split-complementary
#1F7A8A #8A1F44 #8A641F
monochromatic
#092226 #144E58 #1F7A8A #2AA6BC #4CC2D7
Accessibility & contrast
On white
4.99
#1F7A8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#1F7A8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7A8A
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7A8A | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E768B
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #1f7a8a; /* rgb */ color: rgb(31, 122, 138); /* oklch */ color: oklch(53.5% 0.084 212.3);
Tailwind
colors: {
custom: {
50: '#6da0ac',
500: '#1f7a8a',
950: '#000000',
},
}SCSS
$custom: #1f7a8a; $custom-light: #6da0ac; $custom-dark: #000000;
JSON
{
"hex": "#1f7a8a",
"rgb": {
"r": 31,
"g": 122,
"b": 138
},
"hsl": {
"h": 188.972,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.53548,
"c": 0.08443,
"h": 212.3
},
"luminance": 0.16045
}Semantic roles & 50–950 ramp
primary
#1F7A8A
secondary
#BA5C4B
accent
#5A41E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F