#262A24#262A24

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

Color values

HEX#262A24
RGBrgb(38, 42, 36)
HSLhsl(100, 8%, 15%)
HSVhsv(100, 14%, 16%)
CMYKcmyk(9.5%, 0%, 14.3%, 83.5%)
CIE-LABlab(16.48, -3.23, 3.32)
CIE-LCHlch(16.48, 4.63, 134.18°)
OKLaboklab(27.88% -0.0086 0.0086)
OKLCHoklch(27.88% 0.012 135)
XYZxyz(1.9457, 2.1954, 1.9900)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A24 #28242A
analogous
#292A24 #262A24 #242A25
triadic
#262A24 #24262A #2A2426
tetradic
#262A24 #24292A #28242A #2A2524
square
#262A24 #24292A #28242A #2A2524
split-complementary
#262A24 #25242A #2A2429
monochromatic
#0F100E #0F100E #262A24 #444B40 #626C5C

Accessibility & contrast

On white

14.59
#262A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#262A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A24
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A24#FFFFFF#000000##FFFFFF
##262A241.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)
#2B2924
Deuteranopia (green-blind)
#2A2924
Tritanopia (blue-blind)
#262928
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #262a24;
/* rgb */ color: rgb(38, 42, 36);
/* oklch */ color: oklch(27.9% 0.012 135.0);
Tailwind
colors: {
  custom: {
    50: '#60635e',
    500: '#262a24',
    950: '#000000',
  },
}
SCSS
$custom: #262a24;
$custom-light: #60635e;
$custom-dark: #000000;
JSON
{
  "hex": "#262a24",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 36
  },
  "hsl": {
    "h": 100,
    "s": 7.692,
    "l": 15.294
  },
  "oklch": {
    "l": 0.27883,
    "c": 0.01221,
    "h": 135
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#262A24
secondary
#565059
accent
#77B19E
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#040504
muted
#797979

Preview Lab

Preview with #262A24

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

Preview Lab → · Contrast checker → · Palette generator →

#262A24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva