#24243E#24243E

#24243E is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.4% C 0.048 H 282.8°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#24243E
RGBrgb(36, 36, 62)
HSLhsl(240, 27%, 19%)
HSVhsv(240, 42%, 24%)
CMYKcmyk(41.9%, 41.9%, 0%, 75.7%)
CIE-LABlab(15.41, 7.72, -16.61)
CIE-LCHlch(15.41, 18.32, 294.93°)
OKLaboklab(27.37% 0.0106 -0.0465)
OKLCHoklch(27.37% 0.048 282.8)
XYZxyz(2.2277, 1.9845, 4.8222)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24243E #3E3E24
analogous
#24313E #24243E #31243E
triadic
#24243E #3E2424 #243E24
tetradic
#24243E #3E2431 #3E3E24 #243E31
square
#24243E #3E2431 #3E3E24 #243E31
split-complementary
#24243E #3E3124 #313E24
monochromatic
#0B0B13 #0E0E17 #24243E #3A3A65 #51518B

Accessibility & contrast

On white

15.03
#24243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#24243E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24243E
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24243E#FFFFFF#000000##FFFFFF
##24243E1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273F
Deuteranopia (green-blind)
#1B263D
Tritanopia (blue-blind)
#1D292E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #24243e;
/* rgb */ color: rgb(36, 36, 62);
/* oklch */ color: oklch(27.4% 0.048 282.8);
Tailwind
colors: {
  custom: {
    50: '#605e73',
    500: '#24243e',
    950: '#000000',
  },
}
SCSS
$custom: #24243e;
$custom-light: #605e73;
$custom-dark: #000000;
JSON
{
  "hex": "#24243e",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 240,
    "s": 26.531,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27369,
    "c": 0.04772,
    "h": 282.8
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#24243E
secondary
#71714D
accent
#C365C3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050408
muted
#79797B

Preview Lab

Preview with #24243E

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

Preview Lab → · Contrast checker → · Palette generator →

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