#1B503F#1B503F

#1B503F is a dark, moderate teal. Relative luminance 0.063; OKLCH L 39.1% C 0.063 H 168.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#1B503F
RGBrgb(27, 80, 63)
HSLhsl(161, 50%, 21%)
HSVhsv(161, 66%, 31%)
CMYKcmyk(66.3%, 0%, 21.2%, 68.6%)
CIE-LABlab(30.23, -22.24, 4.88)
CIE-LCHlch(30.23, 22.77, 167.62°)
OKLaboklab(39.06% -0.0622 0.0125)
OKLCHoklch(39.06% 0.063 168.6)
XYZxyz(4.2174, 6.3288, 5.7010)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B503F #501B2C
analogous
#1B5024 #1B503F #1B4650
triadic
#1B503F #3F1B50 #503F1B
tetradic
#1B503F #241B50 #501B2C #46501B
square
#1B503F #241B50 #501B2C #46501B
split-complementary
#1B503F #501B46 #50241B
monochromatic
#081712 #0C221B #1B503F #2A7E63 #3AAC87

Accessibility & contrast

On white

9.27
#1B503F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1B503F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B503F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B503F#FFFFFF#000000##FFFFFF
##1B503F1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3E
Deuteranopia (green-blind)
#464540
Tritanopia (blue-blind)
#00504B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b503f;
/* rgb */ color: rgb(27, 80, 63);
/* oklch */ color: oklch(39.1% 0.063 168.6);
Tailwind
colors: {
  custom: {
    50: '#5e8174',
    500: '#1b503f',
    950: '#000000',
  },
}
SCSS
$custom: #1b503f;
$custom-light: #5e8174;
$custom-dark: #000000;
JSON
{
  "hex": "#1b503f",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 63
  },
  "hsl": {
    "h": 160.755,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39059,
    "c": 0.06341,
    "h": 168.6
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#1B503F
secondary
#864157
accent
#4F7BD9
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#050A08
muted
#797C7B

Preview Lab

Preview with #1B503F

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

Preview Lab → · Contrast checker → · Palette generator →

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