#181D3D#181D3D

#181D3D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.061 H 274.3°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#181D3D
RGBrgb(24, 29, 61)
HSLhsl(232, 44%, 17%)
HSVhsv(232, 61%, 24%)
CMYKcmyk(60.7%, 52.5%, 0%, 76.1%)
CIE-LABlab(12.02, 8.89, -21.34)
CIE-LCHlch(12.02, 23.11, 292.62°)
OKLaboklab(24.49% 0.0046 -0.0607)
OKLCHoklch(24.49% 0.061 274.3)
XYZxyz(1.6581, 1.4097, 4.5987)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D3D #3D3818
analogous
#18303D #181D3D #26183D
triadic
#181D3D #3D181D #1D3D18
tetradic
#181D3D #3D1830 #3D3818 #183D26
square
#181D3D #3D1830 #3D3818 #183D26
split-complementary
#181D3D #3D2618 #303D18
monochromatic
#090A16 #090A16 #181D3D #293269 #3B4795

Accessibility & contrast

On white

16.38
#181D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181D3D
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D3D#FFFFFF#000000##FFFFFF
##181D3D1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F213E
Deuteranopia (green-blind)
#0B1E3C
Tritanopia (blue-blind)
#07242A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181d3d;
/* rgb */ color: rgb(24, 29, 61);
/* oklch */ color: oklch(24.5% 0.061 274.3);
Tailwind
colors: {
  custom: {
    50: '#585873',
    500: '#181d3d',
    950: '#000000',
  },
}
SCSS
$custom: #181d3d;
$custom-light: #585873;
$custom-dark: #000000;
JSON
{
  "hex": "#181d3d",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 231.892,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24492,
    "c": 0.06086,
    "h": 274.3
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#181D3D
secondary
#736C3D
accent
#C255D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #181D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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