#242A2A#242A2A

#242A2A is a dark, near-neutral grey. Relative luminance 0.022; OKLCH L 27.9% C 0.009 H 196.7°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#242A2A
RGBrgb(36, 42, 42)
HSLhsl(180, 8%, 15%)
HSVhsv(180, 14%, 16%)
CMYKcmyk(14.3%, 0%, 0%, 83.5%)
CIE-LABlab(16.49, -2.64, -0.90)
CIE-LCHlch(16.49, 2.79, 198.80°)
OKLaboklab(27.91% -0.0081 -0.0024)
OKLCHoklch(27.91% 0.009 196.7)
XYZxyz(1.9733, 2.1981, 2.5104)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A2A #2A2424
analogous
#242A27 #242A2A #24272A
triadic
#242A2A #2A242A #2A2A24
tetradic
#242A2A #27242A #2A2424 #272A24
square
#242A2A #27242A #2A2424 #272A24
split-complementary
#242A2A #2A2427 #2A2724
monochromatic
#0E1010 #0E1010 #242A2A #404B4B #5C6C6C

Accessibility & contrast

On white

14.59
#242A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#242A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A2A
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A2A#FFFFFF#000000##FFFFFF
##242A2A1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292A
Deuteranopia (green-blind)
#28282A
Tritanopia (blue-blind)
#222A2A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #242a2a;
/* rgb */ color: rgb(36, 42, 42);
/* oklch */ color: oklch(27.9% 0.009 196.7);
Tailwind
colors: {
  custom: {
    50: '#5e6363',
    500: '#242a2a',
    950: '#000000',
  },
}
SCSS
$custom: #242a2a;
$custom-light: #5e6363;
$custom-dark: #000000;
JSON
{
  "hex": "#242a2a",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 180,
    "s": 7.692,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27913,
    "c": 0.0085,
    "h": 196.7
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#242A2A
secondary
#595050
accent
#7777B1
background
#F5F5F5
surface
#E9EAEA
border
#C5C6C6
text
#040505
muted
#797979

Preview Lab

Preview with #242A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#242A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva