#18142E#18142E

#18142E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.1% C 0.050 H 288.4°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#18142E
RGBrgb(24, 20, 46)
HSLhsl(249, 39%, 13%)
HSVhsv(249, 57%, 18%)
CMYKcmyk(47.8%, 56.5%, 0%, 82%)
CIE-LABlab(8.05, 10.09, -16.83)
CIE-LCHlch(8.05, 19.62, 300.95°)
OKLaboklab(21.14% 0.0158 -0.0475)
OKLCHoklch(21.14% 0.05 288.4)
XYZxyz(1.1199, 0.8917, 2.6974)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18142E #2A2E14
analogous
#141D2E #18142E #25142E
triadic
#18142E #2E1814 #142E18
tetradic
#18142E #2E141D #2A2E14 #142E25
square
#18142E #2E141D #2A2E14 #142E25
split-complementary
#18142E #2E2514 #1D2E14
monochromatic
#0B0915 #0B0915 #18142E #2E2759 #453983

Accessibility & contrast

On white

17.82
#18142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#18142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18142E
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18142E#FFFFFF#000000##FFFFFF
##18142E1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#0A172D
Tritanopia (blue-blind)
#12191E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #18142e;
/* rgb */ color: rgb(24, 20, 46);
/* oklch */ color: oklch(21.1% 0.050 288.4);
Tailwind
colors: {
  custom: {
    50: '#565167',
    500: '#18142e',
    950: '#000000',
  },
}
SCSS
$custom: #18142e;
$custom-light: #565167;
$custom-dark: #000000;
JSON
{
  "hex": "#18142e",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 249.231,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2114,
    "c": 0.05012,
    "h": 288.4
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#18142E
secondary
#5E6539
accent
#CF59BD
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030206
muted
#78787A

Preview Lab

Preview with #18142E

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

Preview Lab → · Contrast checker → · Palette generator →

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