#1B5347#1B5347

#1B5347 is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.2% C 0.062 H 176.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#1B5347
RGBrgb(27, 83, 71)
HSLhsl(167, 51%, 22%)
HSVhsv(167, 67%, 33%)
CMYKcmyk(67.5%, 0%, 14.5%, 67.5%)
CIE-LABlab(31.52, -21.53, 1.66)
CIE-LCHlch(31.52, 21.60, 175.60°)
OKLaboklab(40.19% -0.0616 0.0041)
OKLCHoklch(40.19% 0.062 176.2)
XYZxyz(4.6820, 6.8740, 7.0401)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5347 #531B27
analogous
#1B532B #1B5347 #1B4353
triadic
#1B5347 #471B53 #53471B
tetradic
#1B5347 #2B1B53 #531B27 #43531B
square
#1B5347 #2B1B53 #531B27 #43531B
split-complementary
#1B5347 #531B43 #532B1B
monochromatic
#081714 #0C251F #1B5347 #2A816F #39AF96

Accessibility & contrast

On white

8.84
#1B5347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1B5347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5347
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5347#FFFFFF#000000##FFFFFF
##1B53471.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E46
Deuteranopia (green-blind)
#484848
Tritanopia (blue-blind)
#00544F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b5347;
/* rgb */ color: rgb(27, 83, 71);
/* oklch */ color: oklch(40.2% 0.062 176.2);
Tailwind
colors: {
  custom: {
    50: '#5f847a',
    500: '#1b5347',
    950: '#000000',
  },
}
SCSS
$custom: #1b5347;
$custom-light: #5f847a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5347",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 71
  },
  "hsl": {
    "h": 167.143,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40186,
    "c": 0.06171,
    "h": 176.2
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#1B5347
secondary
#894150
accent
#4D6CDA
background
#F5F8F7
surface
#EAEFED
border
#C6CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #1B5347

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1B5347 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva