#2A3333#2A3333

#2A3333 is a dark, near-neutral teal. Relative luminance 0.031; OKLCH L 31.3% C 0.012 H 196.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#2A3333
RGBrgb(42, 51, 51)
HSLhsl(180, 10%, 18%)
HSVhsv(180, 18%, 20%)
CMYKcmyk(17.6%, 0%, 0%, 80%)
CIE-LABlab(20.44, -3.81, -1.28)
CIE-LCHlch(20.44, 4.02, 198.63°)
OKLaboklab(31.27% -0.0118 -0.0035)
OKLCHoklch(31.27% 0.012 196.5)
XYZxyz(2.7361, 3.0988, 3.5853)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3333 #332A2A
analogous
#2A332E #2A3333 #2A2E33
triadic
#2A3333 #332A33 #33332A
tetradic
#2A3333 #2E2A33 #332A2A #2E332A
square
#2A3333 #2E2A33 #332A2A #2E332A
split-complementary
#2A3333 #332A2E #332E2A
monochromatic
#0E1111 #0E1111 #2A3333 #465555 #617676

Accessibility & contrast

On white

12.96
#2A3333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2A3333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3333
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3333#FFFFFF#000000##FFFFFF
##2A33331.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323233
Deuteranopia (green-blind)
#303133
Tritanopia (blue-blind)
#273433
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a3333;
/* rgb */ color: rgb(42, 51, 51);
/* oklch */ color: oklch(31.3% 0.012 196.5);
Tailwind
colors: {
  custom: {
    50: '#636a6a',
    500: '#2a3333',
    950: '#000000',
  },
}
SCSS
$custom: #2a3333;
$custom-light: #636a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3333",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 180,
    "s": 9.677,
    "l": 18.235
  },
  "oklch": {
    "l": 0.31266,
    "c": 0.01228,
    "h": 196.5
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#2A3333
secondary
#635656
accent
#7575B3
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2A3333

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

Preview Lab → · Contrast checker → · Palette generator →

#2A3333 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva