#181A2E#181A2E

#181A2E is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.6% C 0.039 H 278.5°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#181A2E
RGBrgb(24, 26, 46)
HSLhsl(235, 31%, 14%)
HSVhsv(235, 48%, 18%)
CMYKcmyk(47.8%, 43.5%, 0%, 82%)
CIE-LABlab(10.03, 5.47, -13.70)
CIE-LCHlch(10.03, 14.76, 291.76°)
OKLaboklab(22.65% 0.0057 -0.0384)
OKLCHoklch(22.65% 0.039 278.5)
XYZxyz(1.2391, 1.1302, 2.7371)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A2E #2E2C18
analogous
#18252E #181A2E #21182E
triadic
#181A2E #2E181A #1A2E18
tetradic
#181A2E #2E1825 #2E2C18 #182E21
square
#181A2E #2E1825 #2E2C18 #182E21
split-complementary
#181A2E #2E2118 #252E18
monochromatic
#0A0B14 #0A0B14 #181A2E #2D3156 #42477E

Accessibility & contrast

On white

17.13
#181A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#181A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A2E
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A2E#FFFFFF#000000##FFFFFF
##181A2E1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#121B2E
Tritanopia (blue-blind)
#111E21
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181a2e;
/* rgb */ color: rgb(24, 26, 46);
/* oklch */ color: oklch(22.6% 0.039 278.5);
Tailwind
colors: {
  custom: {
    50: '#565666',
    500: '#181a2e',
    950: '#000000',
  },
}
SCSS
$custom: #181a2e;
$custom-light: #565666;
$custom-dark: #000000;
JSON
{
  "hex": "#181a2e",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 234.545,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22646,
    "c": 0.03885,
    "h": 278.5
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#181A2E
secondary
#635F3F
accent
#BE60C8
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #181A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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