#1F7783#1F7783
#1F7783 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.5% C 0.081 H 208.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7783 |
|---|---|
| RGB | rgb(31, 119, 131) |
| HSL | hsl(187, 62%, 32%) |
| HSV | hsv(187, 76%, 51%) |
| CMYK | cmyk(76.3%, 9.2%, 0%, 48.6%) |
| CIE-LAB | lab(45.80, -20.84, -13.91) |
| CIE-LCH | lch(45.80, 25.06, 213.73°) |
| OKLab | oklab(52.47% -0.0713 -0.0387) |
| OKLCH | oklch(52.47% 0.081 208.5) |
| XYZ | xyz(11.2569, 15.1223, 23.7939) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 2.89
Ocean
#017B92
ΔE00 4.20
Deep Turquoise
#017374
ΔE00 5.72
Bluegreen
#017A79
ΔE00 6.40
Teal
#008080
ΔE00 6.66
Dark Aquamarine
#017371
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7783 #832B1F
analogous
#1F835D #1F7783 #1F4583
triadic
#1F7783 #831F77 #77831F
tetradic
#1F7783 #5D1F83 #832B1F #45831F
square
#1F7783 #5D1F83 #832B1F #45831F
split-complementary
#1F7783 #831F45 #835D1F
monochromatic
#081D20 #134A52 #1F7783 #2BA4B4 #49C3D4
Accessibility & contrast
On white
5.22
#1F7783 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#1F7783 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7783
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7783 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7783 | 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)
#6C7284
Deuteranopia (green-blind)
#5E6883
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #1f7783; /* rgb */ color: rgb(31, 119, 131); /* oklch */ color: oklch(52.5% 0.081 208.5);
Tailwind
colors: {
custom: {
50: '#6c9ea7',
500: '#1f7783',
950: '#000000',
},
}SCSS
$custom: #1f7783; $custom-light: #6c9ea7; $custom-dark: #000000;
JSON
{
"hex": "#1f7783",
"rgb": {
"r": 31,
"g": 119,
"b": 131
},
"hsl": {
"h": 187.2,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.52468,
"c": 0.08112,
"h": 208.5
},
"luminance": 0.15124
}Semantic roles & 50–950 ramp
primary
#1F7783
secondary
#B65548
accent
#5643E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F