#1B2829#1B2829

#1B2829 is a dark, near-neutral teal. Relative luminance 0.019; OKLCH L 26.5% C 0.018 H 202.1°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#1B2829
RGBrgb(27, 40, 41)
HSLhsl(184, 21%, 13%)
HSVhsv(184, 34%, 16%)
CMYKcmyk(34.1%, 2.4%, 0%, 83.9%)
CIE-LABlab(15.01, -5.23, -2.46)
CIE-LCHlch(15.01, 5.78, 205.20°)
OKLaboklab(26.53% -0.0166 -0.0067)
OKLCHoklch(26.53% 0.018 202.1)
XYZxyz(1.6109, 1.9106, 2.3813)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2829 #291C1B
analogous
#1B2923 #1B2829 #1B2129
triadic
#1B2829 #291B28 #28291B
tetradic
#1B2829 #231B29 #291C1B #21291B
square
#1B2829 #231B29 #291C1B #21291B
split-complementary
#1B2829 #291B21 #29231B
monochromatic
#0C1212 #0C1212 #1B2829 #334C4E #4C7073

Accessibility & contrast

On white

15.19
#1B2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1B2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2829
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2829#FFFFFF#000000##FFFFFF
##1B28291.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262729
Deuteranopia (green-blind)
#242529
Tritanopia (blue-blind)
#162928
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b2829;
/* rgb */ color: rgb(27, 40, 41);
/* oklch */ color: oklch(26.5% 0.018 202.1);
Tailwind
colors: {
  custom: {
    50: '#576162',
    500: '#1b2829',
    950: '#000000',
  },
}
SCSS
$custom: #1b2829;
$custom-light: #576162;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2829",
  "rgb": {
    "r": 27,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 184.286,
    "s": 20.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26535,
    "c": 0.01789,
    "h": 202.1
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#1B2829
secondary
#5B4644
accent
#716BBD
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#030505
muted
#787979

Preview Lab

Preview with #1B2829

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

Preview Lab → · Contrast checker → · Palette generator →

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