#24242E#24242E

#24242E is a dark, near-neutral blue. Relative luminance 0.018; OKLCH L 26.5% C 0.019 H 285.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#24242E
RGBrgb(36, 36, 46)
HSLhsl(240, 12%, 16%)
HSVhsv(240, 22%, 18%)
CMYKcmyk(21.7%, 21.7%, 0%, 82%)
CIE-LABlab(14.59, 2.67, -6.57)
CIE-LCHlch(14.59, 7.10, 292.14°)
OKLaboklab(26.47% 0.0048 -0.0179)
OKLCHoklch(26.47% 0.019 285.1)
XYZxyz(1.8515, 1.8341, 2.8407)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24242E #2E2E24
analogous
#24292E #24242E #29242E
triadic
#24242E #2E2424 #242E24
tetradic
#24242E #2E2429 #2E2E24 #242E29
square
#24242E #2E2429 #2E2E24 #242E29
split-complementary
#24242E #2E2924 #292E24
monochromatic
#0D0D11 #0D0D11 #24242E #3F3F50 #5A5A73

Accessibility & contrast

On white

15.36
#24242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#24242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##24242E#FFFFFF#000000##FFFFFF
##24242E1.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)
#22252E
Deuteranopia (green-blind)
#21252E
Tritanopia (blue-blind)
#222627
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #24242e;
/* rgb */ color: rgb(36, 36, 46);
/* oklch */ color: oklch(26.5% 0.019 285.1);
Tailwind
colors: {
  custom: {
    50: '#5e5e66',
    500: '#24242e',
    950: '#000000',
  },
}
SCSS
$custom: #24242e;
$custom-light: #5e5e66;
$custom-dark: #000000;
JSON
{
  "hex": "#24242e",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 12.195,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26471,
    "c": 0.01855,
    "h": 285.1
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#24242E
secondary
#5E5E4F
accent
#B573B5
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #24242E

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

Preview Lab → · Contrast checker → · Palette generator →

#24242E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva