#18243F#18243F

#18243F is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.4% C 0.053 H 264.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#18243F
RGBrgb(24, 36, 63)
HSLhsl(222, 45%, 17%)
HSVhsv(222, 62%, 25%)
CMYKcmyk(61.9%, 42.9%, 0%, 75.3%)
CIE-LABlab(14.48, 4.41, -18.83)
CIE-LCHlch(14.48, 19.34, 283.19°)
OKLaboklab(26.42% -0.0048 -0.0533)
OKLCHoklch(26.42% 0.054 264.9)
XYZxyz(1.9045, 1.8147, 4.9516)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18243F #3F3318
analogous
#18383F #18243F #1F183F
triadic
#18243F #3F1824 #243F18
tetradic
#18243F #3F1838 #3F3318 #183F1F
square
#18243F #3F1838 #3F3318 #183F1F
split-complementary
#18243F #3F1F18 #383F18
monochromatic
#080D16 #080D16 #18243F #293D6B #3A5798

Accessibility & contrast

On white

15.41
#18243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18243F
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18243F#FFFFFF#000000##FFFFFF
##18243F1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192740
Deuteranopia (green-blind)
#14233E
Tritanopia (blue-blind)
#042A2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #18243f;
/* rgb */ color: rgb(24, 36, 63);
/* oklch */ color: oklch(26.4% 0.053 264.9);
Tailwind
colors: {
  custom: {
    50: '#585e74',
    500: '#18243f',
    950: '#000000',
  },
}
SCSS
$custom: #18243f;
$custom-light: #585e74;
$custom-dark: #000000;
JSON
{
  "hex": "#18243f",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 221.538,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26425,
    "c": 0.0535,
    "h": 264.9
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#18243F
secondary
#75643D
accent
#AD53D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #18243F

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

Preview Lab → · Contrast checker → · Palette generator →

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