#2A2A30#2A2A30

#2A2A30 is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.7% C 0.011 H 285.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#2A2A30
RGBrgb(42, 42, 48)
HSLhsl(240, 7%, 18%)
HSVhsv(240, 13%, 19%)
CMYKcmyk(12.5%, 12.5%, 0%, 81.2%)
CIE-LABlab(17.28, 1.51, -3.88)
CIE-LCHlch(17.28, 4.17, 291.23°)
OKLaboklab(28.74% 0.0029 -0.0104)
OKLCHoklch(28.74% 0.011 285.7)
XYZxyz(2.3162, 2.3616, 3.1295)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A30 #30302A
analogous
#2A2D30 #2A2A30 #2D2A30
triadic
#2A2A30 #302A2A #2A302A
tetradic
#2A2A30 #302A2D #30302A #2A302D
square
#2A2A30 #302A2D #30302A #2A302D
split-complementary
#2A2A30 #302D2A #2D302A
monochromatic
#0E0E10 #0E0E10 #2A2A30 #474751 #636371

Accessibility & contrast

On white

14.26
#2A2A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2A30
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A30#FFFFFF#000000##FFFFFF
##2A2A301.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B30
Deuteranopia (green-blind)
#292A30
Tritanopia (blue-blind)
#292B2C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2a30;
/* rgb */ color: rgb(42, 42, 48);
/* oklch */ color: oklch(28.7% 0.011 285.7);
Tailwind
colors: {
  custom: {
    50: '#636368',
    500: '#2a2a30',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a30;
$custom-light: #636368;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a30",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 48
  },
  "hsl": {
    "h": 240,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28745,
    "c": 0.01086,
    "h": 285.7
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#2A2A30
secondary
#5F5F57
accent
#B078B0
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2A2A30

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

Preview Lab → · Contrast checker → · Palette generator →

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