#181644#181644

#181644 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.5% C 0.084 H 279.7°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#181644
RGBrgb(24, 22, 68)
HSLhsl(243, 51%, 18%)
HSVhsv(243, 68%, 27%)
CMYKcmyk(64.7%, 67.6%, 0%, 73.3%)
CIE-LABlab(10.45, 16.93, -28.81)
CIE-LCHlch(10.45, 33.41, 300.45°)
OKLaboklab(23.49% 0.0141 -0.0827)
OKLCHoklch(23.49% 0.084 279.7)
XYZxyz(1.7067, 1.1852, 5.6066)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181644 #424416
analogous
#162B44 #181644 #2F1644
triadic
#181644 #441816 #164418
tetradic
#181644 #44162B #424416 #16442F
square
#181644 #44162B #424416 #16442F
split-complementary
#181644 #442F16 #2B4416
monochromatic
#080717 #080717 #181644 #282572 #3934A0

Accessibility & contrast

On white

16.98
#181644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#181644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181644
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181644#FFFFFF#000000##FFFFFF
##1816441.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#02212A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181644;
/* rgb */ color: rgb(24, 22, 68);
/* oklch */ color: oklch(23.5% 0.084 279.7);
Tailwind
colors: {
  custom: {
    50: '#5a5378',
    500: '#181644',
    950: '#000000',
  },
}
SCSS
$custom: #181644;
$custom-light: #5a5378;
$custom-dark: #000000;
JSON
{
  "hex": "#181644",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 242.609,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23494,
    "c": 0.08393,
    "h": 279.7
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#181644
secondary
#797B3A
accent
#DB4DD4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181644

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

Preview Lab → · Contrast checker → · Palette generator →

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