#181A2C#181A2C

#181A2C is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.5% C 0.035 H 278.3°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#181A2C
RGBrgb(24, 26, 44)
HSLhsl(234, 29%, 13%)
HSVhsv(234, 45%, 17%)
CMYKcmyk(45.5%, 40.9%, 0%, 82.7%)
CIE-LABlab(9.91, 4.75, -12.43)
CIE-LCHlch(9.91, 13.30, 290.92°)
OKLaboklab(22.52% 0.0051 -0.0347)
OKLCHoklch(22.52% 0.035 278.3)
XYZxyz(1.2006, 1.1148, 2.5343)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A2C #2C2A18
analogous
#18242C #181A2C #20182C
triadic
#181A2C #2C181A #1A2C18
tetradic
#181A2C #2C1824 #2C2A18 #182C20
square
#181A2C #2C1824 #2C2A18 #182C20
split-complementary
#181A2C #2C2018 #242C18
monochromatic
#0B0C14 #0B0C14 #181A2C #2E3154 #43497B

Accessibility & contrast

On white

17.17
#181A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#181A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A2C
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A2C#FFFFFF#000000##FFFFFF
##181A2C1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2D
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#121D21
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181a2c;
/* rgb */ color: rgb(24, 26, 44);
/* oklch */ color: oklch(22.5% 0.035 278.3);
Tailwind
colors: {
  custom: {
    50: '#555665',
    500: '#181a2c',
    950: '#000000',
  },
}
SCSS
$custom: #181a2c;
$custom-light: #555665;
$custom-dark: #000000;
JSON
{
  "hex": "#181a2c",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 234,
    "s": 29.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22516,
    "c": 0.03509,
    "h": 278.3
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#181A2C
secondary
#605D3F
accent
#BC62C6
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030305
muted
#78787A

Preview Lab

Preview with #181A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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