#1F5347#1F5347

#1F5347 is a dark, muted teal. Relative luminance 0.069; OKLCH L 40.3% C 0.059 H 175.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#1F5347
RGBrgb(31, 83, 71)
HSLhsl(166, 46%, 22%)
HSVhsv(166, 63%, 33%)
CMYKcmyk(62.7%, 0%, 14.5%, 67.5%)
CIE-LABlab(31.65, -20.65, 1.87)
CIE-LCHlch(31.65, 20.73, 174.84°)
OKLaboklab(40.33% -0.059 0.0046)
OKLCHoklch(40.33% 0.059 175.5)
XYZxyz(4.7951, 6.9323, 7.0454)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5347 #531F2B
analogous
#1F532D #1F5347 #1F4553
triadic
#1F5347 #471F53 #53471F
tetradic
#1F5347 #2D1F53 #531F2B #45531F
square
#1F5347 #2D1F53 #531F2B #45531F
split-complementary
#1F5347 #531F45 #532D1F
monochromatic
#081613 #0E2621 #1F5347 #30806D #40AC93

Accessibility & contrast

On white

8.80
#1F5347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1F5347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5347
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5347#FFFFFF#000000##FFFFFF
##1F53471.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.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: #1f5347;
/* rgb */ color: rgb(31, 83, 71);
/* oklch */ color: oklch(40.3% 0.059 175.5);
Tailwind
colors: {
  custom: {
    50: '#61837a',
    500: '#1f5347',
    950: '#000000',
  },
}
SCSS
$custom: #1f5347;
$custom-light: #61837a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5347",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 71
  },
  "hsl": {
    "h": 166.154,
    "s": 45.614,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.05918,
    "h": 175.5
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#1F5347
secondary
#884655
accent
#5371D5
background
#F5F8F7
surface
#EAEFED
border
#C6CAC8
text
#050B09
muted
#797C7B

Preview Lab

Preview with #1F5347

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

Preview Lab → · Contrast checker → · Palette generator →

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