#1F7882#1F7882
#1F7882 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.081 H 206.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7882 |
|---|---|
| RGB | rgb(31, 120, 130) |
| HSL | hsl(186, 61%, 32%) |
| HSV | hsv(186, 76%, 51%) |
| CMYK | cmyk(76.2%, 7.7%, 0%, 49%) |
| CIE-LAB | lab(46.09, -21.70, -12.88) |
| CIE-LCH | lch(46.09, 25.24, 210.69°) |
| OKLab | oklab(52.69% -0.0728 -0.0358) |
| OKLCH | oklch(52.69% 0.081 206.2) |
| XYZ | xyz(11.3090, 15.3346, 23.4786) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Aqua
#08787F
ΔE00 2.04
Ocean
#017B92
ΔE00 4.95
Deep Turquoise
#017374
ΔE00 4.99
Bluegreen
#017A79
ΔE00 5.47
Teal
#008080
ΔE00 5.71
Dark Aquamarine
#017371
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7882 #82291F
analogous
#1F825B #1F7882 #1F4782
triadic
#1F7882 #821F78 #78821F
tetradic
#1F7882 #5B1F82 #82291F #47821F
square
#1F7882 #5B1F82 #82291F #47821F
split-complementary
#1F7882 #821F47 #825B1F
monochromatic
#071D1F #134A51 #1F7882 #2BA6B3 #48C5D3
Accessibility & contrast
On white
5.16
#1F7882 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#1F7882 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7882
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7882 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7882 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D7383
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7882; /* rgb */ color: rgb(31, 120, 130); /* oklch */ color: oklch(52.7% 0.081 206.2);
Tailwind
colors: {
custom: {
50: '#6c9fa6',
500: '#1f7882',
950: '#000000',
},
}SCSS
$custom: #1f7882; $custom-light: #6c9fa6; $custom-dark: #000000;
JSON
{
"hex": "#1f7882",
"rgb": {
"r": 31,
"g": 120,
"b": 130
},
"hsl": {
"h": 186.061,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.52688,
"c": 0.08113,
"h": 206.2
},
"luminance": 0.15336
}Semantic roles & 50–950 ramp
primary
#1F7882
secondary
#B55348
accent
#5443E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F