#1F798A#1F798A
#1F798A is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.3% C 0.084 H 213.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F798A |
|---|---|
| RGB | rgb(31, 121, 138) |
| HSL | hsl(190, 63%, 33%) |
| HSV | hsv(190, 78%, 54%) |
| CMYK | cmyk(77.5%, 12.3%, 0%, 45.9%) |
| CIE-LAB | lab(46.71, -19.56, -16.68) |
| CIE-LCH | lch(46.71, 25.70, 220.47°) |
| OKLab | oklab(53.29% -0.0703 -0.0465) |
| OKLCH | oklch(53.29% 0.084 213.5) |
| XYZ | xyz(11.9879, 15.7996, 26.4576) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 2.12
Deep Aqua
#08787F
ΔE00 4.91
Teal Blue
#01889F
ΔE00 5.74
Sea Blue
#047495
ΔE00 6.13
Dirty Blue
#3F829D
ΔE00 6.93
Deep Turquoise
#017374
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F798A #8A301F
analogous
#1F8A65 #1F798A #1F438A
triadic
#1F798A #8A1F79 #798A1F
tetradic
#1F798A #651F8A #8A301F #438A1F
square
#1F798A #651F8A #8A301F #438A1F
split-complementary
#1F798A #8A1F43 #8A651F
monochromatic
#092126 #144D58 #1F798A #2AA5BC #4CC1D7
Accessibility & contrast
On white
5.05
#1F798A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#1F798A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F798A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F798A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F798A | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C758B
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #1f798a; /* rgb */ color: rgb(31, 121, 138); /* oklch */ color: oklch(53.3% 0.084 213.5);
Tailwind
colors: {
custom: {
50: '#6da0ac',
500: '#1f798a',
950: '#000000',
},
}SCSS
$custom: #1f798a; $custom-light: #6da0ac; $custom-dark: #000000;
JSON
{
"hex": "#1f798a",
"rgb": {
"r": 31,
"g": 121,
"b": 138
},
"hsl": {
"h": 189.533,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.53289,
"c": 0.08431,
"h": 213.5
},
"luminance": 0.15801
}Semantic roles & 50–950 ramp
primary
#1F798A
secondary
#BA5D4B
accent
#5C41E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F