#1E2A28#1E2A28

#1E2A28 is a dark, near-neutral teal. Relative luminance 0.021; OKLCH L 27.3% C 0.017 H 183.7°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#1E2A28
RGBrgb(30, 42, 40)
HSLhsl(170, 17%, 14%)
HSVhsv(170, 29%, 16%)
CMYKcmyk(28.6%, 0%, 4.8%, 83.5%)
CIE-LABlab(15.93, -5.68, -0.38)
CIE-LCHlch(15.93, 5.70, 183.81°)
OKLaboklab(27.31% -0.0169 -0.0011)
OKLCHoklch(27.31% 0.017 183.7)
XYZxyz(1.7463, 2.0851, 2.3175)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2A28 #2A1E20
analogous
#1E2A22 #1E2A28 #1E262A
triadic
#1E2A28 #281E2A #2A281E
tetradic
#1E2A28 #221E2A #2A1E20 #262A1E
square
#1E2A28 #221E2A #2A1E20 #262A1E
split-complementary
#1E2A28 #2A1E26 #2A221E
monochromatic
#0D1211 #0D1211 #1E2A28 #384E4A #51716C

Accessibility & contrast

On white

14.82
#1E2A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1E2A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2A28
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2A28#FFFFFF#000000##FFFFFF
##1E2A281.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292928
Deuteranopia (green-blind)
#272728
Tritanopia (blue-blind)
#1B2B29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1e2a28;
/* rgb */ color: rgb(30, 42, 40);
/* oklch */ color: oklch(27.3% 0.017 183.7);
Tailwind
colors: {
  custom: {
    50: '#5a6361',
    500: '#1e2a28',
    950: '#000000',
  },
}
SCSS
$custom: #1e2a28;
$custom-light: #5a6361;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2a28",
  "rgb": {
    "r": 30,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 170,
    "s": 16.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.27312,
    "c": 0.01692,
    "h": 183.7
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#1E2A28
secondary
#5B484C
accent
#6E7BB9
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#030505
muted
#787979

Preview Lab

Preview with #1E2A28

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

Preview Lab → · Contrast checker → · Palette generator →

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