#18243C#18243C

#18243C is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.2% C 0.048 H 263.3°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#18243C
RGBrgb(24, 36, 60)
HSLhsl(220, 43%, 16%)
HSVhsv(220, 60%, 24%)
CMYKcmyk(60%, 40%, 0%, 76.5%)
CIE-LABlab(14.30, 3.24, -17.02)
CIE-LCHlch(14.30, 17.33, 280.77°)
OKLaboklab(26.22% -0.0057 -0.048)
OKLCHoklch(26.22% 0.048 263.3)
XYZxyz(1.8229, 1.7821, 4.5220)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18243C #3C3018
analogous
#18363C #18243C #1E183C
triadic
#18243C #3C1824 #243C18
tetradic
#18243C #3C1836 #3C3018 #183C1E
square
#18243C #3C1836 #3C3018 #183C1E
split-complementary
#18243C #3C1E18 #363C18
monochromatic
#090D16 #090D16 #18243C #293E68 #3B5893

Accessibility & contrast

On white

15.48
#18243C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#18243C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18243C
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18243C#FFFFFF#000000##FFFFFF
##18243C1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B263D
Deuteranopia (green-blind)
#16233B
Tritanopia (blue-blind)
#07292D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18243c;
/* rgb */ color: rgb(24, 36, 60);
/* oklch */ color: oklch(26.2% 0.048 263.3);
Tailwind
colors: {
  custom: {
    50: '#585e72',
    500: '#18243c',
    950: '#000000',
  },
}
SCSS
$custom: #18243c;
$custom-light: #585e72;
$custom-dark: #000000;
JSON
{
  "hex": "#18243c",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 60
  },
  "hsl": {
    "h": 220,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26222,
    "c": 0.04834,
    "h": 263.3
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#18243C
secondary
#72613E
accent
#A955D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #18243C

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

Preview Lab → · Contrast checker → · Palette generator →

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