#18243E#18243E

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

Color values

HEX#18243E
RGBrgb(24, 36, 62)
HSLhsl(221, 44%, 17%)
HSVhsv(221, 61%, 24%)
CMYKcmyk(61.3%, 41.9%, 0%, 75.7%)
CIE-LABlab(14.42, 4.02, -18.23)
CIE-LCHlch(14.42, 18.67, 282.43°)
OKLaboklab(26.36% -0.0051 -0.0515)
OKLCHoklch(26.36% 0.052 264.4)
XYZxyz(1.8768, 1.8036, 4.8057)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18243E #3E3218
analogous
#18373E #18243E #1F183E
triadic
#18243E #3E1824 #243E18
tetradic
#18243E #3E1837 #3E3218 #183E1F
square
#18243E #3E1837 #3E3218 #183E1F
split-complementary
#18243E #3E1F18 #373E18
monochromatic
#090D16 #090D16 #18243E #293E6A #3A5796

Accessibility & contrast

On white

15.43
#18243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18243E
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18243E#FFFFFF#000000##FFFFFF
##18243E1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A263F
Deuteranopia (green-blind)
#15233D
Tritanopia (blue-blind)
#052A2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18243e;
/* rgb */ color: rgb(24, 36, 62);
/* oklch */ color: oklch(26.4% 0.052 264.4);
Tailwind
colors: {
  custom: {
    50: '#585e73',
    500: '#18243e',
    950: '#000000',
  },
}
SCSS
$custom: #18243e;
$custom-light: #585e73;
$custom-dark: #000000;
JSON
{
  "hex": "#18243e",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 221.053,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26356,
    "c": 0.05178,
    "h": 264.4
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#18243E
secondary
#74633D
accent
#AB54D4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #18243E

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

Preview Lab → · Contrast checker → · Palette generator →

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