More
More
#1C7186 colour
#1C7186 is a dark cyan close to CSS teal. RGB 28, 113, 134, HSL 192, 65%, 32%. White text passes AA (5.59:1), black passes AA for large text (3.76:1).
- Nearest CSS name
teal#008080 (not an exact match)- Described as
- a dark cyan
- Red, green, blue
- 28, 113, 134
- Web safe
- No
- Luminance
- 0.1378 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #1c7186 | |
|---|---|---|
| RGB | rgb(28, 113, 134) | |
| RGB (percent) | rgb(11% 44.3% 52.5%) | |
| HSL | hsl(191.9, 65.4%, 31.8%) | |
| HSV / HSB | hsv(191.9, 79.1%, 52.5%) | |
| HWB | hwb(191.9 11% 47.5%) | |
| CMYK (naive) | cmyk(79%, 16%, 0%, 47%) | |
| CIELAB (D50) | lab(43.57% -19.7 -19.11) | |
| OKLCH | oklch(50.97% 0.0832 218.66) | |
| Decimal | 1864070 |
CMYK here is the plain formula with no colour profile, so treat it as a starting point; a printer's profile gives the real ink values. CIELAB uses a D50 white point, as CSS lab() does. HSV is not a CSS function, so it is shown for design apps only.
Contrast with white and black text
| Text | Ratio | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White | 5.59:1 | Pass | Pass | Fail | Pass |
| Black | 3.76:1 | Fail | Pass | Fail | Fail |
White text is the better choice on #1C7186 (5.59:1). Ratios use the WCAG 2.2 formula; large text means at least 24px, or 18.66px bold. Check another pair.
Tints and shades
Mixed with white, then with black, in ten even steps (straight sRGB mixing, as most design tools do).
Colour harmonies
Hue turned around the HSL colour wheel, saturation and lightness kept.
How it looks with colour blindness
Simulated with the Machado, Oliveira and Fernandes (2009) matrices at full severity, applied in linear RGB; achromatopsia shows the colour's luminance as grey. Milder forms (protanomaly, deuteranomaly) are far more common and shift colours less. Never use colour as the only way to carry meaning.
CSS
| Text colour | color: #1c7186; | |
|---|---|---|
| Background | background-color: #1c7186; | |
| Border | border: 1px solid #1c7186; | |
| Half transparent | background-color: rgb(28 113 134 / 50%); | |
| Custom property | --colour-main: #1c7186; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #1c7186, #114450); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #77aab6, #1c7186); | |
| Text on this colour | background-color: #1c7186; color: #fff; |
Similar named colours
teal#008080, distance 5darkcyan#008b8b, distance 7.8dimgray#696969, distance 8.4steelblue#4682b4, distance 9.1slategray#708090, distance 10.1darkslategray#2f4f4f, distance 11.8#86311cComplement of #1C7186
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #1C7186 to other formats · Build a palette from it · Check contrast · All named colours
Colour names from CSS Color Module Level 4. Palette values from the Tailwind CSS v3 default palette (MIT licence) and the Material Design 2014 colour palette as published in Material Design Lite (Apache License 2.0). All other values are calculated from the hex code.