#1B503D#1B503D

#1B503D is a dark, moderate teal. Relative luminance 0.063; OKLCH L 39.0% C 0.065 H 166.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1B503D
RGBrgb(27, 80, 61)
HSLhsl(158, 50%, 21%)
HSVhsv(158, 66%, 31%)
CMYKcmyk(66.3%, 0%, 23.7%, 68.6%)
CIE-LABlab(30.17, -22.78, 6.07)
CIE-LCHlch(30.17, 23.58, 165.07°)
OKLaboklab(39% -0.0633 0.0156)
OKLCHoklch(39% 0.065 166.2)
XYZxyz(4.1625, 6.3068, 5.4119)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B503D #501B2E
analogous
#1B5022 #1B503D #1B4850
triadic
#1B503D #3D1B50 #503D1B
tetradic
#1B503D #221B50 #501B2E #48501B
square
#1B503D #221B50 #501B2E #48501B
split-complementary
#1B503D #501B48 #50221B
monochromatic
#081711 #0C221A #1B503D #2A7E60 #3AAC83

Accessibility & contrast

On white

9.29
#1B503D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B503D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B503D
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B503D#FFFFFF#000000##FFFFFF
##1B503D1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3C
Deuteranopia (green-blind)
#47453E
Tritanopia (blue-blind)
#00504B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b503d;
/* rgb */ color: rgb(27, 80, 61);
/* oklch */ color: oklch(39.0% 0.065 166.2);
Tailwind
colors: {
  custom: {
    50: '#5e8172',
    500: '#1b503d',
    950: '#000000',
  },
}
SCSS
$custom: #1b503d;
$custom-light: #5e8172;
$custom-dark: #000000;
JSON
{
  "hex": "#1b503d",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 61
  },
  "hsl": {
    "h": 158.491,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.06515,
    "h": 166.2
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#1B503D
secondary
#86415A
accent
#4F80D9
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#050A08
muted
#797C7B

Preview Lab

Preview with #1B503D

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

Preview Lab → · Contrast checker → · Palette generator →

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