#181C26#181C26

#181C26 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.7% C 0.020 H 267.8°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#181C26
RGBrgb(24, 28, 38)
HSLhsl(223, 23%, 12%)
HSVhsv(223, 37%, 15%)
CMYKcmyk(36.8%, 26.3%, 0%, 85.1%)
CIE-LABlab(10.29, 1.17, -7.42)
CIE-LCHlch(10.29, 7.51, 279.00°)
OKLaboklab(22.71% -0.0008 -0.0204)
OKLCHoklch(22.71% 0.02 267.8)
XYZxyz(1.1417, 1.1646, 1.9980)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C26 #262218
analogous
#182326 #181C26 #1B1826
triadic
#181C26 #26181C #1C2618
tetradic
#181C26 #261823 #262218 #18261B
square
#181C26 #261823 #262218 #18261B
split-complementary
#181C26 #261B18 #232618
monochromatic
#0C0E13 #0C0E13 #181C26 #30384C #475371

Accessibility & contrast

On white

17.03
#181C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181C26
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C26#FFFFFF#000000##FFFFFF
##181C261.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191D26
Deuteranopia (green-blind)
#181C26
Tritanopia (blue-blind)
#141E1F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181c26;
/* rgb */ color: rgb(24, 28, 38);
/* oklch */ color: oklch(22.7% 0.020 267.8);
Tailwind
colors: {
  custom: {
    50: '#555760',
    500: '#181c26',
    950: '#000000',
  },
}
SCSS
$custom: #181c26;
$custom-light: #555760;
$custom-dark: #000000;
JSON
{
  "hex": "#181c26",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 38
  },
  "hsl": {
    "h": 222.857,
    "s": 22.581,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22706,
    "c": 0.02043,
    "h": 267.8
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#181C26
secondary
#595241
accent
#A669BF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#030304
muted
#787879

Preview Lab

Preview with #181C26

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

Preview Lab → · Contrast checker → · Palette generator →

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