#1B503B#1B503B

#1B503B is a dark, moderate teal. Relative luminance 0.063; OKLCH L 38.9% C 0.067 H 163.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#1B503B
RGBrgb(27, 80, 59)
HSLhsl(156, 50%, 21%)
HSVhsv(156, 66%, 31%)
CMYKcmyk(66.3%, 0%, 26.2%, 68.6%)
CIE-LABlab(30.12, -23.31, 7.27)
CIE-LCHlch(30.12, 24.42, 162.68°)
OKLaboklab(38.94% -0.0643 0.0186)
OKLCHoklch(38.94% 0.067 163.9)
XYZxyz(4.1097, 6.2857, 5.1335)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B503B #501B30
analogous
#1B5020 #1B503B #1B4A50
triadic
#1B503B #3B1B50 #503B1B
tetradic
#1B503B #201B50 #501B30 #4A501B
square
#1B503B #201B50 #501B30 #4A501B
split-complementary
#1B503B #501B4A #50201B
monochromatic
#081711 #0C2219 #1B503B #2A7E5D #3AAC7E

Accessibility & contrast

On white

9.30
#1B503B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B503B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B503B#FFFFFF#000000##FFFFFF
##1B503B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3A
Deuteranopia (green-blind)
#47453C
Tritanopia (blue-blind)
#00504A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b503b;
/* rgb */ color: rgb(27, 80, 59);
/* oklch */ color: oklch(38.9% 0.067 163.9);
Tailwind
colors: {
  custom: {
    50: '#5e8171',
    500: '#1b503b',
    950: '#000000',
  },
}
SCSS
$custom: #1b503b;
$custom-light: #5e8171;
$custom-dark: #000000;
JSON
{
  "hex": "#1b503b",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 59
  },
  "hsl": {
    "h": 156.226,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.06698,
    "h": 163.9
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#1B503B
secondary
#86415C
accent
#4F86D9
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#050A07
muted
#797C7A

Preview Lab

Preview with #1B503B

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

Preview Lab → · Contrast checker → · Palette generator →

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