#2A302E#2A302E

#2A302E is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.3% C 0.009 H 173.7°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#2A302E
RGBrgb(42, 48, 46)
HSLhsl(160, 7%, 18%)
HSVhsv(160, 13%, 19%)
CMYKcmyk(12.5%, 0%, 4.2%, 81.2%)
CIE-LABlab(19.24, -3.10, 0.39)
CIE-LCHlch(19.24, 3.12, 172.75°)
OKLaboklab(30.26% -0.009 0.001)
OKLCHoklch(30.26% 0.009 173.7)
XYZxyz(2.5048, 2.8034, 2.9934)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A302E #302A2C
analogous
#2A302B #2A302E #2A2F30
triadic
#2A302E #2E2A30 #302E2A
tetradic
#2A302E #2B2A30 #302A2C #2F302A
square
#2A302E #2B2A30 #302A2C #2F302A
split-complementary
#2A302E #302A2F #302B2A
monochromatic
#0E1010 #0E1010 #2A302E #47514D #63716D

Accessibility & contrast

On white

13.46
#2A302E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2A302E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A302E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A302E#FFFFFF#000000##FFFFFF
##2A302E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2E
Deuteranopia (green-blind)
#2E2E2E
Tritanopia (blue-blind)
#29302F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a302e;
/* rgb */ color: rgb(42, 48, 46);
/* oklch */ color: oklch(30.3% 0.009 173.7);
Tailwind
colors: {
  custom: {
    50: '#636866',
    500: '#2a302e',
    950: '#000000',
  },
}
SCSS
$custom: #2a302e;
$custom-light: #636866;
$custom-dark: #000000;
JSON
{
  "hex": "#2a302e",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 46
  },
  "hsl": {
    "h": 160,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30263,
    "c": 0.00908,
    "h": 173.7
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#2A302E
secondary
#5F5759
accent
#788BB0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2A302E

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

Preview Lab → · Contrast checker → · Palette generator →

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