#181544#181544

#181544 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.085 H 280.3°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#181544
RGBrgb(24, 21, 68)
HSLhsl(244, 53%, 17%)
HSVhsv(244, 69%, 27%)
CMYKcmyk(64.7%, 69.1%, 0%, 73.3%)
CIE-LABlab(10.17, 17.66, -29.26)
CIE-LCHlch(10.17, 34.18, 301.11°)
OKLaboklab(23.29% 0.0153 -0.0841)
OKLCHoklch(23.29% 0.085 280.3)
XYZxyz(1.6879, 1.1478, 5.6003)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181544 #414415
analogous
#152944 #181544 #301544
triadic
#181544 #441815 #154418
tetradic
#181544 #441529 #414415 #154430
square
#181544 #441529 #414415 #154430
split-complementary
#181544 #443015 #294415
monochromatic
#080717 #080717 #181544 #292373 #3932A2

Accessibility & contrast

On white

17.08
#181544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#181544 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181544
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181544#FFFFFF#000000##FFFFFF
##1815441.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181544;
/* rgb */ color: rgb(24, 21, 68);
/* oklch */ color: oklch(23.3% 0.085 280.3);
Tailwind
colors: {
  custom: {
    50: '#5a5278',
    500: '#181544',
    950: '#000000',
  },
}
SCSS
$custom: #181544;
$custom-light: #5a5278;
$custom-dark: #000000;
JSON
{
  "hex": "#181544",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 243.83,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23286,
    "c": 0.08546,
    "h": 280.3
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#181544
secondary
#787C39
accent
#DC4CD3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181544

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

Preview Lab → · Contrast checker → · Palette generator →

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