#181E2F#181E2F

#181E2F is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.8% C 0.034 H 268.8°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#181E2F
RGBrgb(24, 30, 47)
HSLhsl(224, 32%, 14%)
HSVhsv(224, 49%, 18%)
CMYKcmyk(48.9%, 36.2%, 0%, 81.6%)
CIE-LABlab(11.47, 2.80, -12.19)
CIE-LCHlch(11.47, 12.50, 282.95°)
OKLaboklab(23.78% -0.0007 -0.034)
OKLCHoklch(23.78% 0.034 268.8)
XYZxyz(1.3539, 1.3279, 2.8737)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E2F #2F2918
analogous
#182A2F #181E2F #1E182F
triadic
#181E2F #2F181E #1E2F18
tetradic
#181E2F #2F182A #2F2918 #182F1E
square
#181E2F #2F182A #2F2918 #182F1E
split-complementary
#181E2F #2F1E18 #2A2F18
monochromatic
#0A0D14 #0A0D14 #181E2F #2D3858 #415280

Accessibility & contrast

On white

16.59
#181E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#181E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E2F
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E2F#FFFFFF#000000##FFFFFF
##181E2F1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182030
Deuteranopia (green-blind)
#161E2F
Tritanopia (blue-blind)
#102124
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181e2f;
/* rgb */ color: rgb(24, 30, 47);
/* oklch */ color: oklch(23.8% 0.034 268.8);
Tailwind
colors: {
  custom: {
    50: '#565967',
    500: '#181e2f',
    950: '#000000',
  },
}
SCSS
$custom: #181e2f;
$custom-light: #565967;
$custom-dark: #000000;
JSON
{
  "hex": "#181e2f",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 224.348,
    "s": 32.394,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23777,
    "c": 0.03404,
    "h": 268.8
  },
  "luminance": 0.01328
}

Semantic roles & 50–950 ramp

primary
#181E2F
secondary
#645A3F
accent
#AD5FC9
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #181E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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