#181E2E#181E2E

#181E2E is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.7% C 0.032 H 268.1°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#181E2E
RGBrgb(24, 30, 46)
HSLhsl(224, 31%, 14%)
HSVhsv(224, 48%, 18%)
CMYKcmyk(47.8%, 34.8%, 0%, 82%)
CIE-LABlab(11.41, 2.44, -11.55)
CIE-LCHlch(11.41, 11.80, 281.95°)
OKLaboklab(23.72% -0.001 -0.0322)
OKLCHoklch(23.72% 0.032 268.1)
XYZxyz(1.3340, 1.3199, 2.7687)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E2E #2E2818
analogous
#18292E #181E2E #1D182E
triadic
#181E2E #2E181E #1E2E18
tetradic
#181E2E #2E1829 #2E2818 #182E1D
square
#181E2E #2E1829 #2E2818 #182E1D
split-complementary
#181E2E #2E1D18 #292E18
monochromatic
#0A0D14 #0A0D14 #181E2E #2D3856 #42527E

Accessibility & contrast

On white

16.61
#181E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E2E
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E2E#FFFFFF#000000##FFFFFF
##181E2E1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191F2F
Deuteranopia (green-blind)
#171D2E
Tritanopia (blue-blind)
#112124
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181e2e;
/* rgb */ color: rgb(24, 30, 46);
/* oklch */ color: oklch(23.7% 0.032 268.1);
Tailwind
colors: {
  custom: {
    50: '#565966',
    500: '#181e2e',
    950: '#000000',
  },
}
SCSS
$custom: #181e2e;
$custom-light: #565966;
$custom-dark: #000000;
JSON
{
  "hex": "#181e2e",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 223.636,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23716,
    "c": 0.03221,
    "h": 268.1
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#181E2E
secondary
#63593F
accent
#AB60C8
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #181E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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