#181744#181744

#181744 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.082 H 279.1°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#181744
RGBrgb(24, 23, 68)
HSLhsl(241, 49%, 18%)
HSVhsv(241, 66%, 27%)
CMYKcmyk(64.7%, 66.2%, 0%, 73.3%)
CIE-LABlab(10.73, 16.19, -28.34)
CIE-LCHlch(10.73, 32.64, 299.74°)
OKLaboklab(23.71% 0.013 -0.0813)
OKLCHoklch(23.71% 0.082 279.1)
XYZxyz(1.7261, 1.2242, 5.6131)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181744 #434417
analogous
#172C44 #181744 #2E1744
triadic
#181744 #441817 #174418
tetradic
#181744 #44172C #434417 #17442E
square
#181744 #44172C #434417 #17442E
split-complementary
#181744 #442E17 #2C4417
monochromatic
#080817 #080817 #181744 #282672 #38369F

Accessibility & contrast

On white

16.87
#181744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181744
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181744#FFFFFF#000000##FFFFFF
##1817441.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F45
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#02222A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181744;
/* rgb */ color: rgb(24, 23, 68);
/* oklch */ color: oklch(23.7% 0.082 279.1);
Tailwind
colors: {
  custom: {
    50: '#5a5478',
    500: '#181744',
    950: '#000000',
  },
}
SCSS
$custom: #181744;
$custom-light: #5a5478;
$custom-dark: #000000;
JSON
{
  "hex": "#181744",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 68
  },
  "hsl": {
    "h": 241.333,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23705,
    "c": 0.08238,
    "h": 279.1
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#181744
secondary
#7A7B3C
accent
#D94FD6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181744

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

Preview Lab → · Contrast checker → · Palette generator →

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