#1B503E#1B503E

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

Color values

HEX#1B503E
RGBrgb(27, 80, 62)
HSLhsl(160, 50%, 21%)
HSVhsv(160, 66%, 31%)
CMYKcmyk(66.3%, 0%, 22.5%, 68.6%)
CIE-LABlab(30.20, -22.51, 5.48)
CIE-LCHlch(30.20, 23.17, 166.33°)
OKLaboklab(39.03% -0.0627 0.014)
OKLCHoklch(39.03% 0.064 167.4)
XYZxyz(4.1897, 6.3177, 5.5551)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B503E #501B2D
analogous
#1B5023 #1B503E #1B4750
triadic
#1B503E #3E1B50 #503E1B
tetradic
#1B503E #231B50 #501B2D #47501B
square
#1B503E #231B50 #501B2D #47501B
split-complementary
#1B503E #501B47 #50231B
monochromatic
#081712 #0C221B #1B503E #2A7E61 #3AAC85

Accessibility & contrast

On white

9.28
#1B503E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B503E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B503E#FFFFFF#000000##FFFFFF
##1B503E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3D
Deuteranopia (green-blind)
#46453F
Tritanopia (blue-blind)
#00504B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b503e;
/* rgb */ color: rgb(27, 80, 62);
/* oklch */ color: oklch(39.0% 0.064 167.4);
Tailwind
colors: {
  custom: {
    50: '#5e8173',
    500: '#1b503e',
    950: '#000000',
  },
}
SCSS
$custom: #1b503e;
$custom-light: #5e8173;
$custom-dark: #000000;
JSON
{
  "hex": "#1b503e",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 62
  },
  "hsl": {
    "h": 159.623,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39028,
    "c": 0.06426,
    "h": 167.4
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#1B503E
secondary
#864158
accent
#4F7ED9
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#050A08
muted
#797C7B

Preview Lab

Preview with #1B503E

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

Preview Lab → · Contrast checker → · Palette generator →

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