#242526#242526

#242526 is a dark, near-neutral grey. Relative luminance 0.018; OKLCH L 26.4% C 0.002 H 248.0°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#242526
RGBrgb(36, 37, 38)
HSLhsl(210, 3%, 15%)
HSVhsv(210, 5%, 15%)
CMYKcmyk(5.3%, 2.6%, 0%, 85.1%)
CIE-LABlab(14.61, -0.21, -0.82)
CIE-LCHlch(14.61, 0.85, 255.97°)
OKLaboklab(26.38% -0.0009 -0.0022)
OKLCHoklch(26.38% 0.002 248)
XYZxyz(1.7389, 1.8381, 2.0965)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242526 #262524
analogous
#242626 #242526 #242426
triadic
#242526 #262425 #252624
tetradic
#242526 #262426 #262524 #242624
square
#242526 #262426 #262524 #242624
split-complementary
#242526 #262424 #262624
monochromatic
#0F0F10 #0F0F10 #242526 #424445 #606265

Accessibility & contrast

On white

15.36
#242526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#242526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242526
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242526#FFFFFF#000000##FFFFFF
##2425261.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252526
Deuteranopia (green-blind)
#242526
Tritanopia (blue-blind)
#242525
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #242526;
/* rgb */ color: rgb(36, 37, 38);
/* oklch */ color: oklch(26.4% 0.002 248.0);
Tailwind
colors: {
  custom: {
    50: '#5e5f60',
    500: '#242526',
    950: '#000000',
  },
}
SCSS
$custom: #242526;
$custom-light: #5e5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#242526",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 38
  },
  "hsl": {
    "h": 210,
    "s": 2.703,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26383,
    "c": 0.00237,
    "h": 248
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#242526
secondary
#545351
accent
#947CAC
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040404
muted
#797979

Preview Lab

Preview with #242526

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

Preview Lab → · Contrast checker → · Palette generator →

#242526 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva