#2A2D30#2A2D30

#2A2D30 is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.5% C 0.007 H 248.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#2A2D30
RGBrgb(42, 45, 48)
HSLhsl(210, 7%, 18%)
HSVhsv(210, 13%, 19%)
CMYKcmyk(12.5%, 6.2%, 0%, 81.2%)
CIE-LABlab(18.29, -0.56, -2.39)
CIE-LCHlch(18.29, 2.45, 256.75°)
OKLaboklab(29.54% -0.0026 -0.0064)
OKLCHoklch(29.54% 0.007 248.1)
XYZxyz(2.4266, 2.5824, 3.1663)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D30 #302D2A
analogous
#2A3030 #2A2D30 #2A2A30
triadic
#2A2D30 #302A2D #2D302A
tetradic
#2A2D30 #302A30 #302D2A #2A302A
square
#2A2D30 #302A30 #302D2A #2A302A
split-complementary
#2A2D30 #302A2A #30302A
monochromatic
#0E0F10 #0E0F10 #2A2D30 #474C51 #636A71

Accessibility & contrast

On white

13.85
#2A2D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2A2D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D30
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D30#FFFFFF#000000##FFFFFF
##2A2D301.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2d30;
/* rgb */ color: rgb(42, 45, 48);
/* oklch */ color: oklch(29.5% 0.007 248.1);
Tailwind
colors: {
  custom: {
    50: '#636568',
    500: '#2a2d30',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d30;
$custom-light: #636568;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d30",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 48
  },
  "hsl": {
    "h": 210,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29535,
    "c": 0.00691,
    "h": 248.1
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#2A2D30
secondary
#5F5B57
accent
#9478B0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #2A2D30

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

Preview Lab → · Contrast checker → · Palette generator →

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