#181A28#181A28

#181A28 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.3% C 0.027 H 277.6°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#181A28
RGBrgb(24, 26, 40)
HSLhsl(233, 25%, 13%)
HSVhsv(233, 40%, 16%)
CMYKcmyk(40%, 35%, 0%, 84.3%)
CIE-LABlab(9.69, 3.35, -9.83)
CIE-LCHlch(9.69, 10.38, 288.85°)
OKLaboklab(22.27% 0.0037 -0.0272)
OKLCHoklch(22.27% 0.027 277.6)
XYZxyz(1.1290, 1.0861, 2.1572)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A28 #282618
analogous
#182228 #181A28 #1E1828
triadic
#181A28 #28181A #1A2818
tetradic
#181A28 #281822 #282618 #18281E
square
#181A28 #281822 #282618 #18281E
split-complementary
#181A28 #281E18 #222818
monochromatic
#0B0C13 #0B0C13 #181A28 #2F334E #464C74

Accessibility & contrast

On white

17.25
#181A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181A28
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A28#FFFFFF#000000##FFFFFF
##181A281.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B29
Deuteranopia (green-blind)
#151A28
Tritanopia (blue-blind)
#141D1F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181a28;
/* rgb */ color: rgb(24, 26, 40);
/* oklch */ color: oklch(22.3% 0.027 277.6);
Tailwind
colors: {
  custom: {
    50: '#555662',
    500: '#181a28',
    950: '#000000',
  },
}
SCSS
$custom: #181a28;
$custom-light: #555662;
$custom-dark: #000000;
JSON
{
  "hex": "#181a28",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 232.5,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22269,
    "c": 0.02749,
    "h": 277.6
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#181A28
secondary
#5C5840
accent
#B666C1
background
#F4F5F5
surface
#E8E9EA
border
#C4C5C6
text
#030305
muted
#787879

Preview Lab

Preview with #181A28

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

Preview Lab → · Contrast checker → · Palette generator →

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