#181C28#181C28

#181C28 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.8% C 0.024 H 270.1°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#181C28
RGBrgb(24, 28, 40)
HSLhsl(225, 25%, 13%)
HSVhsv(225, 40%, 16%)
CMYKcmyk(40%, 30%, 0%, 84.3%)
CIE-LABlab(10.39, 1.84, -8.74)
CIE-LCHlch(10.39, 8.93, 281.90°)
OKLaboklab(22.82% 0.0001 -0.0242)
OKLCHoklch(22.82% 0.024 270.1)
XYZxyz(1.1748, 1.1779, 2.1725)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C28 #282418
analogous
#182428 #181C28 #1C1828
triadic
#181C28 #28181C #1C2818
tetradic
#181C28 #281824 #282418 #18281C
square
#181C28 #281824 #282418 #18281C
split-complementary
#181C28 #281C18 #242818
monochromatic
#0B0D13 #0B0D13 #181C28 #2F374E #465274

Accessibility & contrast

On white

17.00
#181C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#181C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C28
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C28#FFFFFF#000000##FFFFFF
##181C281.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D29
Deuteranopia (green-blind)
#171C28
Tritanopia (blue-blind)
#141E20
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181c28;
/* rgb */ color: rgb(24, 28, 40);
/* oklch */ color: oklch(22.8% 0.024 270.1);
Tailwind
colors: {
  custom: {
    50: '#555761',
    500: '#181c28',
    950: '#000000',
  },
}
SCSS
$custom: #181c28;
$custom-light: #555761;
$custom-dark: #000000;
JSON
{
  "hex": "#181c28",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 225,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22816,
    "c": 0.02416,
    "h": 270.1
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#181C28
secondary
#5C5540
accent
#AB66C1
background
#F4F5F5
surface
#E8E9EA
border
#C4C5C6
text
#030305
muted
#787879

Preview Lab

Preview with #181C28

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

Preview Lab → · Contrast checker → · Palette generator →

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