#181C36#181C36

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

Color values

HEX#181C36
RGBrgb(24, 28, 54)
HSLhsl(232, 38%, 15%)
HSVhsv(232, 56%, 21%)
CMYKcmyk(55.6%, 48.1%, 0%, 78.8%)
CIE-LABlab(11.21, 6.93, -17.64)
CIE-LCHlch(11.21, 18.95, 291.45°)
OKLaboklab(23.72% 0.0046 -0.0499)
OKLCHoklch(23.72% 0.05 275.3)
XYZxyz(1.4576, 1.2910, 3.6617)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C36 #363218
analogous
#182B36 #181C36 #231836
triadic
#181C36 #36181C #1C3618
tetradic
#181C36 #36182B #363218 #183623
square
#181C36 #36182B #363218 #183623
split-complementary
#181C36 #362318 #2B3618
monochromatic
#090B15 #090B15 #181C36 #2B3260 #3E488B

Accessibility & contrast

On white

16.69
#181C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181C36
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C36#FFFFFF#000000##FFFFFF
##181C361.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F37
Deuteranopia (green-blind)
#0F1D35
Tritanopia (blue-blind)
#0D2126
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181c36;
/* rgb */ color: rgb(24, 28, 54);
/* oklch */ color: oklch(23.7% 0.050 275.3);
Tailwind
colors: {
  custom: {
    50: '#57576d',
    500: '#181c36',
    950: '#000000',
  },
}
SCSS
$custom: #181c36;
$custom-light: #57576d;
$custom-dark: #000000;
JSON
{
  "hex": "#181c36",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 54
  },
  "hsl": {
    "h": 232,
    "s": 38.462,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23718,
    "c": 0.05008,
    "h": 275.3
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#181C36
secondary
#6C663E
accent
#BF59CE
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #181C36

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

Preview Lab → · Contrast checker → · Palette generator →

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