#2A2A2C#2A2A2C

#2A2A2C is a dark, near-neutral grey. Relative luminance 0.023; OKLCH L 28.6% C 0.004 H 286.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#2A2A2C
RGBrgb(42, 42, 44)
HSLhsl(240, 2%, 17%)
HSVhsv(240, 5%, 17%)
CMYKcmyk(4.5%, 4.5%, 0%, 82.7%)
CIE-LABlab(17.13, 0.49, -1.30)
CIE-LCHlch(17.13, 1.39, 290.50°)
OKLaboklab(28.58% 0.001 -0.0035)
OKLCHoklch(28.58% 0.004 286.1)
XYZxyz(2.2373, 2.3300, 2.7143)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A2C #2C2C2A
analogous
#2A2B2C #2A2A2C #2B2A2C
triadic
#2A2A2C #2C2A2A #2A2C2A
tetradic
#2A2A2C #2C2A2B #2C2C2A #2A2C2B
square
#2A2A2C #2C2A2B #2C2C2A #2A2C2B
split-complementary
#2A2A2C #2C2B2A #2B2C2A
monochromatic
#0F0F10 #0F0F10 #2A2A2C #48484B #66666B

Accessibility & contrast

On white

14.32
#2A2A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2A2A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A2C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A2C#FFFFFF#000000##FFFFFF
##2A2A2C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A2C
Deuteranopia (green-blind)
#2A2A2C
Tritanopia (blue-blind)
#2A2A2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2a2c;
/* rgb */ color: rgb(42, 42, 44);
/* oklch */ color: oklch(28.6% 0.004 286.1);
Tailwind
colors: {
  custom: {
    50: '#636365',
    500: '#2a2a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a2c;
$custom-light: #636365;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a2c",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 44
  },
  "hsl": {
    "h": 240,
    "s": 2.326,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2858,
    "c": 0.0036,
    "h": 286.1
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#2A2A2C
secondary
#5A5A57
accent
#AC7CAC
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050505
muted
#79797A

Preview Lab

Preview with #2A2A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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