#181A26#181A26

#181A26 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.2% C 0.024 H 276.9°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#181A26
RGBrgb(24, 26, 38)
HSLhsl(231, 23%, 12%)
HSVhsv(231, 37%, 15%)
CMYKcmyk(36.8%, 31.6%, 0%, 85.1%)
CIE-LABlab(9.58, 2.68, -8.51)
CIE-LCHlch(9.58, 8.92, 287.46°)
OKLaboklab(22.15% 0.0029 -0.0235)
OKLCHoklch(22.15% 0.024 276.9)
XYZxyz(1.0958, 1.0729, 1.9827)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A26 #262418
analogous
#182126 #181A26 #1D1826
triadic
#181A26 #26181A #1A2618
tetradic
#181A26 #261821 #262418 #18261D
square
#181A26 #261821 #262418 #18261D
split-complementary
#181A26 #261D18 #212618
monochromatic
#0C0D13 #0C0D13 #181A26 #30344C #474D71

Accessibility & contrast

On white

17.29
#181A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#181A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A26
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A26#FFFFFF#000000##FFFFFF
##181A261.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171B27
Deuteranopia (green-blind)
#161A26
Tritanopia (blue-blind)
#141C1E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181a26;
/* rgb */ color: rgb(24, 26, 38);
/* oklch */ color: oklch(22.2% 0.024 276.9);
Tailwind
colors: {
  custom: {
    50: '#555660',
    500: '#181a26',
    950: '#000000',
  },
}
SCSS
$custom: #181a26;
$custom-light: #555660;
$custom-dark: #000000;
JSON
{
  "hex": "#181a26",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 231.429,
    "s": 22.581,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22153,
    "c": 0.02365,
    "h": 276.9
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#181A26
secondary
#595641
accent
#B369BF
background
#F4F5F5
surface
#E8E9E9
border
#C4C5C5
text
#030304
muted
#787879

Preview Lab

Preview with #181A26

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

Preview Lab → · Contrast checker → · Palette generator →

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