#1B504A#1B504A

#1B504A is a dark, muted teal. Relative luminance 0.065; OKLCH L 39.4% C 0.056 H 184.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#1B504A
RGBrgb(27, 80, 74)
HSLhsl(173, 50%, 21%)
HSVhsv(173, 66%, 31%)
CMYKcmyk(66.3%, 0%, 7.5%, 68.6%)
CIE-LABlab(30.55, -19.04, -1.66)
CIE-LCHlch(30.55, 19.11, 184.99°)
OKLaboklab(39.43% -0.0563 -0.0048)
OKLCHoklch(39.43% 0.056 184.9)
XYZxyz(4.5561, 6.4643, 7.4849)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B504A #501B21
analogous
#1B502F #1B504A #1B3B50
triadic
#1B504A #4A1B50 #504A1B
tetradic
#1B504A #2F1B50 #501B21 #3B501B
square
#1B504A #2F1B50 #501B21 #3B501B
split-complementary
#1B504A #501B3B #502F1B
monochromatic
#081715 #0C2220 #1B504A #2A7E74 #3AAC9F

Accessibility & contrast

On white

9.16
#1B504A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1B504A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B504A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B504A#FFFFFF#000000##FFFFFF
##1B504A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B4A
Deuteranopia (green-blind)
#44454B
Tritanopia (blue-blind)
#00524E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b504a;
/* rgb */ color: rgb(27, 80, 74);
/* oklch */ color: oklch(39.4% 0.056 184.9);
Tailwind
colors: {
  custom: {
    50: '#5f817c',
    500: '#1b504a',
    950: '#000000',
  },
}
SCSS
$custom: #1b504a;
$custom-light: #5f817c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b504a",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 74
  },
  "hsl": {
    "h": 173.208,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.05648,
    "h": 184.9
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#1B504A
secondary
#864149
accent
#4F5ED9
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A09
muted
#797C7B

Preview Lab

Preview with #1B504A

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

Preview Lab → · Contrast checker → · Palette generator →

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