#1A2A28#1A2A28

#1A2A28 is a dark, muted teal. Relative luminance 0.020; OKLCH L 27.0% C 0.022 H 186.2°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#1A2A28
RGBrgb(26, 42, 40)
HSLhsl(173, 24%, 13%)
HSVhsv(173, 38%, 16%)
CMYKcmyk(38.1%, 0%, 4.8%, 83.5%)
CIE-LABlab(15.64, -7.25, -0.84)
CIE-LCHlch(15.64, 7.30, 186.60°)
OKLaboklab(27% -0.0216 -0.0024)
OKLCHoklch(27% 0.022 186.2)
XYZxyz(1.6368, 2.0287, 2.3124)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A28 #2A1A1C
analogous
#1A2A20 #1A2A28 #1A242A
triadic
#1A2A28 #281A2A #2A281A
tetradic
#1A2A28 #201A2A #2A1A1C #242A1A
square
#1A2A28 #201A2A #2A1A1C #242A1A
split-complementary
#1A2A28 #2A1A24 #2A201A
monochromatic
#0C1312 #0C1312 #1A2A28 #31504C #497670

Accessibility & contrast

On white

14.94
#1A2A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A2A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A28
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A28#FFFFFF#000000##FFFFFF
##1A2A281.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282828
Deuteranopia (green-blind)
#252628
Tritanopia (blue-blind)
#152B29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a2a28;
/* rgb */ color: rgb(26, 42, 40);
/* oklch */ color: oklch(27.0% 0.022 186.2);
Tailwind
colors: {
  custom: {
    50: '#576361',
    500: '#1a2a28',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a28;
$custom-light: #576361;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a28",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 172.5,
    "s": 23.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.27003,
    "c": 0.02178,
    "h": 186.2
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#1A2A28
secondary
#5D4346
accent
#6873C0
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#030505
muted
#787979

Preview Lab

Preview with #1A2A28

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

Preview Lab → · Contrast checker → · Palette generator →

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