#24243C#24243C

#24243C is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.2% C 0.044 H 283.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#24243C
RGBrgb(36, 36, 60)
HSLhsl(240, 25%, 19%)
HSVhsv(240, 40%, 24%)
CMYKcmyk(40%, 40%, 0%, 76.5%)
CIE-LABlab(15.29, 7.05, -15.39)
CIE-LCHlch(15.29, 16.93, 294.60°)
OKLaboklab(27.24% 0.01 -0.043)
OKLCHoklch(27.24% 0.044 283.1)
XYZxyz(2.1738, 1.9630, 4.5385)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24243C #3C3C24
analogous
#24303C #24243C #30243C
triadic
#24243C #3C2424 #243C24
tetradic
#24243C #3C2430 #3C3C24 #243C30
square
#24243C #3C2430 #3C3C24 #243C30
split-complementary
#24243C #3C3024 #303C24
monochromatic
#0B0B13 #0D0D16 #24243C #3B3B62 #525289

Accessibility & contrast

On white

15.08
#24243C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#24243C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24243C
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24243C#FFFFFF#000000##FFFFFF
##24243C1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273D
Deuteranopia (green-blind)
#1C263B
Tritanopia (blue-blind)
#1E292D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #24243c;
/* rgb */ color: rgb(36, 36, 60);
/* oklch */ color: oklch(27.2% 0.044 283.1);
Tailwind
colors: {
  custom: {
    50: '#5f5e72',
    500: '#24243c',
    950: '#000000',
  },
}
SCSS
$custom: #24243c;
$custom-light: #5f5e72;
$custom-dark: #000000;
JSON
{
  "hex": "#24243c",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27244,
    "c": 0.04415,
    "h": 283.1
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#24243C
secondary
#6E6E4D
accent
#C166C1
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#050407
muted
#79797A

Preview Lab

Preview with #24243C

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

Preview Lab → · Contrast checker → · Palette generator →

#24243C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva