#181D2E#181D2E

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

Color values

HEX#181D2E
RGBrgb(24, 29, 46)
HSLhsl(226, 31%, 14%)
HSVhsv(226, 48%, 18%)
CMYKcmyk(47.8%, 37%, 0%, 82%)
CIE-LABlab(11.06, 3.19, -12.09)
CIE-LCHlch(11.06, 12.50, 284.79°)
OKLaboklab(23.44% 0.0006 -0.0337)
OKLCHoklch(23.44% 0.034 271.1)
XYZxyz(1.3090, 1.2701, 2.7604)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D2E #2E2918
analogous
#18282E #181D2E #1E182E
triadic
#181D2E #2E181D #1D2E18
tetradic
#181D2E #2E1828 #2E2918 #182E1E
square
#181D2E #2E1828 #2E2918 #182E1E
split-complementary
#181D2E #2E1E18 #282E18
monochromatic
#0A0D14 #0A0D14 #181D2E #2D3656 #42507E

Accessibility & contrast

On white

16.75
#181D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181D2E
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D2E#FFFFFF#000000##FFFFFF
##181D2E1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F2F
Deuteranopia (green-blind)
#151D2E
Tritanopia (blue-blind)
#112023
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181d2e;
/* rgb */ color: rgb(24, 29, 46);
/* oklch */ color: oklch(23.4% 0.034 271.1);
Tailwind
colors: {
  custom: {
    50: '#565866',
    500: '#181d2e',
    950: '#000000',
  },
}
SCSS
$custom: #181d2e;
$custom-light: #565866;
$custom-dark: #000000;
JSON
{
  "hex": "#181d2e",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 226.364,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23444,
    "c": 0.03376,
    "h": 271.1
  },
  "luminance": 0.0127
}

Semantic roles & 50–950 ramp

primary
#181D2E
secondary
#635B3F
accent
#B060C8
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #181D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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