#181D2D#181D2D

#181D2D is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.4% C 0.032 H 270.5°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#181D2D
RGBrgb(24, 29, 45)
HSLhsl(226, 30%, 14%)
HSVhsv(226, 47%, 18%)
CMYKcmyk(46.7%, 35.6%, 0%, 82.4%)
CIE-LABlab(11.01, 2.84, -11.45)
CIE-LCHlch(11.01, 11.79, 283.91°)
OKLaboklab(23.38% 0.0003 -0.0319)
OKLCHoklch(23.38% 0.032 270.5)
XYZxyz(1.2896, 1.2623, 2.6578)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D2D #2D2818
analogous
#18272D #181D2D #1D182D
triadic
#181D2D #2D181D #1D2D18
tetradic
#181D2D #2D1827 #2D2818 #182D1D
square
#181D2D #2D1827 #2D2818 #182D1D
split-complementary
#181D2D #2D1D18 #272D18
monochromatic
#0B0D14 #0B0D14 #181D2D #2D3755 #43507D

Accessibility & contrast

On white

16.77
#181D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#181D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D2D
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D2D#FFFFFF#000000##FFFFFF
##181D2D1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2E
Deuteranopia (green-blind)
#161D2D
Tritanopia (blue-blind)
#122023
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181d2d;
/* rgb */ color: rgb(24, 29, 45);
/* oklch */ color: oklch(23.4% 0.032 270.5);
Tailwind
colors: {
  custom: {
    50: '#555866',
    500: '#181d2d',
    950: '#000000',
  },
}
SCSS
$custom: #181d2d;
$custom-light: #555866;
$custom-dark: #000000;
JSON
{
  "hex": "#181d2d",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 225.714,
    "s": 30.435,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23383,
    "c": 0.03191,
    "h": 270.5
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#181D2D
secondary
#62593F
accent
#AE61C7
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030305
muted
#78787A

Preview Lab

Preview with #181D2D

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

Preview Lab → · Contrast checker → · Palette generator →

#181D2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva