#1F7782#1F7782
#1F7782 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.4% C 0.081 H 207.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7782 |
|---|---|
| RGB | rgb(31, 119, 130) |
| HSL | hsl(187, 61%, 32%) |
| HSV | hsv(187, 76%, 51%) |
| CMYK | cmyk(76.2%, 8.5%, 0%, 49%) |
| CIE-LAB | lab(45.76, -21.17, -13.37) |
| CIE-LCH | lch(45.76, 25.04, 212.28°) |
| OKLab | oklab(52.43% -0.0717 -0.0372) |
| OKLCH | oklch(52.43% 0.081 207.4) |
| XYZ | xyz(11.1894, 15.0953, 23.4387) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 2.48
Ocean
#017B92
ΔE00 4.60
Deep Turquoise
#017374
ΔE00 5.31
Bluegreen
#017A79
ΔE00 5.97
Teal
#008080
ΔE00 6.29
Dark Aquamarine
#017371
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7782 #822A1F
analogous
#1F825C #1F7782 #1F4682
triadic
#1F7782 #821F77 #77821F
tetradic
#1F7782 #5C1F82 #822A1F #46821F
square
#1F7782 #5C1F82 #822A1F #46821F
split-complementary
#1F7782 #821F46 #825C1F
monochromatic
#071D1F #134A51 #1F7782 #2BA4B3 #48C4D3
Accessibility & contrast
On white
5.22
#1F7782 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#1F7782 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7782
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7782 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7782 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C7283
Deuteranopia (green-blind)
#5E6882
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1f7782; /* rgb */ color: rgb(31, 119, 130); /* oklch */ color: oklch(52.4% 0.081 207.4);
Tailwind
colors: {
custom: {
50: '#6c9ea6',
500: '#1f7782',
950: '#000000',
},
}SCSS
$custom: #1f7782; $custom-light: #6c9ea6; $custom-dark: #000000;
JSON
{
"hex": "#1f7782",
"rgb": {
"r": 31,
"g": 119,
"b": 130
},
"hsl": {
"h": 186.667,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.52426,
"c": 0.08081,
"h": 207.4
},
"luminance": 0.15097
}Semantic roles & 50–950 ramp
primary
#1F7782
secondary
#B55448
accent
#5543E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F