#2A2B2F#2A2B2F

#2A2B2F is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.0% C 0.007 H 274.7°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#2A2B2F
RGBrgb(42, 43, 47)
HSLhsl(228, 6%, 17%)
HSVhsv(228, 11%, 18%)
CMYKcmyk(10.6%, 8.5%, 0%, 81.6%)
CIE-LABlab(17.58, 0.56, -2.74)
CIE-LCHlch(17.58, 2.80, 281.44°)
OKLaboklab(28.97% 0.0006 -0.0074)
OKLCHoklch(28.97% 0.007 274.7)
XYZxyz(2.3317, 2.4252, 3.0340)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B2F #2F2E2A
analogous
#2A2E2F #2A2B2F #2C2A2F
triadic
#2A2B2F #2F2A2B #2B2F2A
tetradic
#2A2B2F #2F2A2E #2F2E2A #2A2F2C
square
#2A2B2F #2F2A2E #2F2E2A #2A2F2C
split-complementary
#2A2B2F #2F2C2A #2E2F2A
monochromatic
#0E0F10 #0E0F10 #2A2B2F #47494F #646670

Accessibility & contrast

On white

14.14
#2A2B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2A2B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B2F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B2F#FFFFFF#000000##FFFFFF
##2A2B2F1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2F
Deuteranopia (green-blind)
#2A2B2F
Tritanopia (blue-blind)
#292C2C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2b2f;
/* rgb */ color: rgb(42, 43, 47);
/* oklch */ color: oklch(29.0% 0.007 274.7);
Tailwind
colors: {
  custom: {
    50: '#636467',
    500: '#2a2b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b2f;
$custom-light: #636467;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b2f",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 228,
    "s": 5.618,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28965,
    "c": 0.00739,
    "h": 274.7
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#2A2B2F
secondary
#5E5D57
accent
#A479AF
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2A2B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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