#2A2E2F#2A2E2F

#2A2E2F is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.8% C 0.006 H 214.4°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#2A2E2F
RGBrgb(42, 46, 47)
HSLhsl(192, 6%, 17%)
HSVhsv(192, 11%, 18%)
CMYKcmyk(10.6%, 2.1%, 0%, 81.6%)
CIE-LABlab(18.59, -1.50, -1.25)
CIE-LCHlch(18.59, 1.95, 219.73°)
OKLaboklab(29.76% -0.0049 -0.0033)
OKLCHoklch(29.76% 0.006 214.4)
XYZxyz(2.4448, 2.6514, 3.0717)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E2F #2F2B2A
analogous
#2A2F2E #2A2E2F #2A2C2F
triadic
#2A2E2F #2F2A2E #2E2F2A
tetradic
#2A2E2F #2E2A2F #2F2B2A #2C2F2A
square
#2A2E2F #2E2A2F #2F2B2A #2C2F2A
split-complementary
#2A2E2F #2F2A2C #2F2E2A
monochromatic
#0E1010 #0E1010 #2A2E2F #474E4F #646D70

Accessibility & contrast

On white

13.72
#2A2E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2A2E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E2F
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E2F#FFFFFF#000000##FFFFFF
##2A2E2F1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2E2F
Deuteranopia (green-blind)
#2C2D2F
Tritanopia (blue-blind)
#292E2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a2e2f;
/* rgb */ color: rgb(42, 46, 47);
/* oklch */ color: oklch(29.8% 0.006 214.4);
Tailwind
colors: {
  custom: {
    50: '#636667',
    500: '#2a2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e2f;
$custom-light: #636667;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e2f",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 192,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29762,
    "c": 0.00594,
    "h": 214.4
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#2A2E2F
secondary
#5E5857
accent
#8479AF
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2A2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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