#1F7788#1F7788
#1F7788 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.083 H 213.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7788 |
|---|---|
| RGB | rgb(31, 119, 136) |
| HSL | hsl(190, 63%, 33%) |
| HSV | hsv(190, 77%, 53%) |
| CMYK | cmyk(77.2%, 12.5%, 0%, 46.7%) |
| CIE-LAB | lab(45.99, -19.16, -16.60) |
| CIE-LCH | lch(45.99, 25.34, 220.91°) |
| OKLab | oklab(52.68% -0.0691 -0.0463) |
| OKLCH | oklch(52.68% 0.083 213.8) |
| XYZ | xyz(11.6039, 15.2611, 25.6219) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 2.41
Deep Aqua
#08787F
ΔE00 4.97
Sea Blue
#047495
ΔE00 5.90
Teal Blue
#01889F
ΔE00 6.44
Dirty Blue
#3F829D
ΔE00 7.28
Deep Turquoise
#017374
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7788 #88301F
analogous
#1F8864 #1F7788 #1F4388
triadic
#1F7788 #881F77 #77881F
tetradic
#1F7788 #641F88 #88301F #43881F
square
#1F7788 #641F88 #88301F #43881F
split-complementary
#1F7788 #881F43 #88641F
monochromatic
#082024 #144B56 #1F7788 #2AA3BA #4BC0D6
Accessibility & contrast
On white
5.18
#1F7788 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#1F7788 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7788
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7788 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7788 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B7389
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#007E7C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7788; /* rgb */ color: rgb(31, 119, 136); /* oklch */ color: oklch(52.7% 0.083 213.8);
Tailwind
colors: {
custom: {
50: '#6c9eaa',
500: '#1f7788',
950: '#000000',
},
}SCSS
$custom: #1f7788; $custom-light: #6c9eaa; $custom-dark: #000000;
JSON
{
"hex": "#1f7788",
"rgb": {
"r": 31,
"g": 119,
"b": 136
},
"hsl": {
"h": 189.714,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.52682,
"c": 0.08316,
"h": 213.8
},
"luminance": 0.15263
}Semantic roles & 50–950 ramp
primary
#1F7788
secondary
#B95C4A
accent
#5C42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F