Skip to content

#1B4741

≈ darkslategray · rgb(27, 71, 65)
Color formats
HEX#1B4741
RGBrgb(27, 71, 65)
HSLhsl(172, 45%, 19%)
HSVhsv(172, 62%, 28%)
OKLCHoklch(37% 0.05 183)
CMYKcmyk(62%, 0%, 8%, 72%)
Contrast & accessibility
On white10.37:1AA pass
On black2.02:1below AA
Best text color#FFFFFF
Nearest CSS name: darkslategray
Copy-ready code
CSS custom properties
:root {
  --darkslategray: #1b4741;
  --darkslategray-rgb: 27 71 65;
  --darkslategray-oklch: oklch(37% 0.05 183);
}
The space-separated triple lets you set alpha without a second variable:
background: rgb(var(--darkslategray-rgb) / 40%);
Tailwind (arbitrary value)
bg-[#1b4741] text-[#1b4741] border-[#1b4741]
Shades & tints
50
#DFE8E7
100
#C6D9D6
200
#91BFB8
300
#57A99E
400
#367B72
500
#1B4741
600
#183A35
700
#142E2A
800
#10221F
900
#0B1615
950
#091110
Color harmonies
Complementary
#471B21
Analogous −30°
#1B472B
Analogous +30°
#1B3747
Triadic +120°
#411B47
Triadic −120°
#47411B
About this color

#1B4741 is a color with the RGB value rgb(27, 71, 65). Its closest CSS named color is "darkslategray". On this page you'll find every format (HEX, RGB, HSL, HSV, OKLCH, CMYK), WCAG contrast against white and black, a full 50–950 shade scale, and complementary, analogous and triadic harmonies — each linking to its own color page.

Related

Convert #1B4741 to other formats

Palettes with a similar color

Gradients with a similar color

✓ Copied