#2A2C30#2A2C30

#2A2C30 is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.008 H 264.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#2A2C30
RGBrgb(42, 44, 48)
HSLhsl(220, 7%, 18%)
HSVhsv(220, 13%, 19%)
CMYKcmyk(12.5%, 8.3%, 0%, 81.2%)
CIE-LABlab(17.95, 0.12, -2.89)
CIE-LCHlch(17.95, 2.89, 272.46°)
OKLaboklab(29.27% -0.0007 -0.0078)
OKLCHoklch(29.27% 0.008 264.5)
XYZxyz(2.3889, 2.5070, 3.1538)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C30 #302E2A
analogous
#2A2F30 #2A2C30 #2B2A30
triadic
#2A2C30 #302A2C #2C302A
tetradic
#2A2C30 #302A2F #302E2A #2A302B
square
#2A2C30 #302A2F #302E2A #2A302B
split-complementary
#2A2C30 #302B2A #2F302A
monochromatic
#0E0F10 #0E0F10 #2A2C30 #474A51 #636871

Accessibility & contrast

On white

13.99
#2A2C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2A2C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C30
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C30#FFFFFF#000000##FFFFFF
##2A2C301.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C30
Deuteranopia (green-blind)
#2A2C30
Tritanopia (blue-blind)
#292D2D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2c30;
/* rgb */ color: rgb(42, 44, 48);
/* oklch */ color: oklch(29.3% 0.008 264.5);
Tailwind
colors: {
  custom: {
    50: '#636568',
    500: '#2a2c30',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c30;
$custom-light: #636568;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c30",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 48
  },
  "hsl": {
    "h": 220,
    "s": 6.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2927,
    "c": 0.0078,
    "h": 264.5
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#2A2C30
secondary
#5F5C57
accent
#9D78B0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #2A2C30

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

Preview Lab → · Contrast checker → · Palette generator →

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