#181D3C#181D3C

#181D3C is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.4% C 0.059 H 274.3°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#181D3C
RGBrgb(24, 29, 60)
HSLhsl(232, 43%, 16%)
HSVhsv(232, 60%, 24%)
CMYKcmyk(60%, 51.7%, 0%, 76.5%)
CIE-LABlab(11.95, 8.50, -20.74)
CIE-LCHlch(11.95, 22.41, 292.27°)
OKLaboklab(24.42% 0.0044 -0.0589)
OKLCHoklch(24.42% 0.059 274.3)
XYZxyz(1.6314, 1.3991, 4.4582)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D3C #3C3718
analogous
#182F3C #181D3C #25183C
triadic
#181D3C #3C181D #1D3C18
tetradic
#181D3C #3C182F #3C3718 #183C25
square
#181D3C #3C182F #3C3718 #183C25
split-complementary
#181D3C #3C2518 #2F3C18
monochromatic
#090B16 #090B16 #181D3C #293268 #3B4793

Accessibility & contrast

On white

16.41
#181D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D3C
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D3C#FFFFFF#000000##FFFFFF
##181D3C1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10213D
Deuteranopia (green-blind)
#0C1E3B
Tritanopia (blue-blind)
#082429
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181d3c;
/* rgb */ color: rgb(24, 29, 60);
/* oklch */ color: oklch(24.4% 0.059 274.3);
Tailwind
colors: {
  custom: {
    50: '#585872',
    500: '#181d3c',
    950: '#000000',
  },
}
SCSS
$custom: #181d3c;
$custom-light: #585872;
$custom-dark: #000000;
JSON
{
  "hex": "#181d3c",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 231.667,
    "s": 42.857,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24415,
    "c": 0.05912,
    "h": 274.3
  },
  "luminance": 0.01399
}

Semantic roles & 50–950 ramp

primary
#181D3C
secondary
#726B3E
accent
#C155D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #181D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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