#1F7888#1F7888
#1F7888 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.083 H 212.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7888 |
|---|---|
| RGB | rgb(31, 120, 136) |
| HSL | hsl(189, 63%, 33%) |
| HSV | hsv(189, 77%, 53%) |
| CMYK | cmyk(77.2%, 11.8%, 0%, 46.7%) |
| CIE-LAB | lab(46.31, -19.69, -16.10) |
| CIE-LCH | lch(46.31, 25.44, 219.27°) |
| OKLab | oklab(52.94% -0.0701 -0.0449) |
| OKLCH | oklch(52.94% 0.083 212.6) |
| XYZ | xyz(11.7236, 15.5004, 25.6618) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 2.57
Deep Aqua
#08787F
ΔE00 4.51
Teal Blue
#01889F
ΔE00 6.20
Sea Blue
#047495
ΔE00 6.41
Dirty Blue
#3F829D
ΔE00 7.42
Deep Turquoise
#017374
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7888 #882F1F
analogous
#1F8863 #1F7888 #1F4388
triadic
#1F7888 #881F78 #78881F
tetradic
#1F7888 #631F88 #882F1F #43881F
square
#1F7888 #631F88 #882F1F #43881F
split-complementary
#1F7888 #881F43 #88631F
monochromatic
#082024 #144C56 #1F7888 #2AA4BA #4BC1D6
Accessibility & contrast
On white
5.12
#1F7888 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#1F7888 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7888
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7888 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7888 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C7489
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1f7888; /* rgb */ color: rgb(31, 120, 136); /* oklch */ color: oklch(52.9% 0.083 212.6);
Tailwind
colors: {
custom: {
50: '#6d9faa',
500: '#1f7888',
950: '#000000',
},
}SCSS
$custom: #1f7888; $custom-light: #6d9faa; $custom-dark: #000000;
JSON
{
"hex": "#1f7888",
"rgb": {
"r": 31,
"g": 120,
"b": 136
},
"hsl": {
"h": 189.143,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.52942,
"c": 0.08327,
"h": 212.6
},
"luminance": 0.15502
}Semantic roles & 50–950 ramp
primary
#1F7888
secondary
#B95B4A
accent
#5B42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F