#1F573B#1F573B

#1F573B is a dark, moderate teal. Relative luminance 0.074; OKLCH L 41.1% C 0.076 H 158.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1F573B
RGBrgb(31, 87, 59)
HSLhsl(150, 47%, 23%)
HSVhsv(150, 64%, 34%)
CMYKcmyk(64.4%, 0%, 32.2%, 65.9%)
CIE-LABlab(32.75, -25.80, 10.94)
CIE-LCHlch(32.75, 28.03, 157.02°)
OKLaboklab(41.13% -0.0705 0.0278)
OKLCHoklch(41.13% 0.076 158.5)
XYZxyz(4.7623, 7.4230, 5.3186)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F573B #571F3B
analogous
#1F571F #1F573B #1F5757
triadic
#1F573B #3B1F57 #573B1F
tetradic
#1F573B #1F1F57 #571F3B #57571F
square
#1F573B #1F1F57 #571F3B #57571F
split-complementary
#1F573B #571F57 #571F1F
monochromatic
#08170F #0F2A1C #1F573B #2F845A #3FB178

Accessibility & contrast

On white

8.45
#1F573B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1F573B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F573B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F573B#FFFFFF#000000##FFFFFF
##1F573B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565039
Deuteranopia (green-blind)
#4E4B3D
Tritanopia (blue-blind)
#075650
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f573b;
/* rgb */ color: rgb(31, 87, 59);
/* oklch */ color: oklch(41.1% 0.076 158.5);
Tailwind
colors: {
  custom: {
    50: '#618771',
    500: '#1f573b',
    950: '#000000',
  },
}
SCSS
$custom: #1f573b;
$custom-light: #618771;
$custom-dark: #000000;
JSON
{
  "hex": "#1f573b",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 59
  },
  "hsl": {
    "h": 150,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41127,
    "c": 0.07575,
    "h": 158.5
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#1F573B
secondary
#8C4669
accent
#5194D7
background
#F5F8F6
surface
#EAEFEC
border
#C6CAC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #1F573B

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

Preview Lab → · Contrast checker → · Palette generator →

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