#181736#181736

#181736 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.5% C 0.059 H 282.0°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#181736
RGBrgb(24, 23, 54)
HSLhsl(242, 40%, 15%)
HSVhsv(242, 57%, 21%)
CMYKcmyk(55.6%, 57.4%, 0%, 78.8%)
CIE-LABlab(9.59, 10.76, -20.23)
CIE-LCHlch(9.59, 22.91, 298.01°)
OKLaboklab(22.48% 0.0123 -0.0575)
OKLCHoklch(22.48% 0.059 282)
XYZxyz(1.3487, 1.0733, 3.6254)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181736 #353617
analogous
#172636 #181736 #271736
triadic
#181736 #361817 #173618
tetradic
#181736 #361726 #353617 #173627
square
#181736 #361726 #353617 #173627
split-complementary
#181736 #362717 #263617
monochromatic
#0A0915 #0A0915 #181736 #2B2961 #3E3C8C

Accessibility & contrast

On white

17.29
#181736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#181736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181736
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181736#FFFFFF#000000##FFFFFF
##1817361.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091C37
Deuteranopia (green-blind)
#081A35
Tritanopia (blue-blind)
#0E1E23
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181736;
/* rgb */ color: rgb(24, 23, 54);
/* oklch */ color: oklch(22.5% 0.059 282.0);
Tailwind
colors: {
  custom: {
    50: '#57536d',
    500: '#181736',
    950: '#000000',
  },
}
SCSS
$custom: #181736;
$custom-light: #57536d;
$custom-dark: #000000;
JSON
{
  "hex": "#181736",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 54
  },
  "hsl": {
    "h": 241.935,
    "s": 40.26,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22483,
    "c": 0.05878,
    "h": 282
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#181736
secondary
#6B6C3D
accent
#D058CC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030207
muted
#78787A

Preview Lab

Preview with #181736

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

Preview Lab → · Contrast checker → · Palette generator →

#181736 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva