#181543#181543

#181543 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.084 H 280.5°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#181543
RGBrgb(24, 21, 67)
HSLhsl(244, 52%, 17%)
HSVhsv(244, 69%, 26%)
CMYKcmyk(64.2%, 68.7%, 0%, 73.7%)
CIE-LABlab(10.07, 17.28, -28.71)
CIE-LCHlch(10.07, 33.51, 301.04°)
OKLaboklab(23.19% 0.0153 -0.0825)
OKLCHoklch(23.19% 0.084 280.5)
XYZxyz(1.6577, 1.1357, 5.4410)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181543 #404315
analogous
#152943 #181543 #2F1543
triadic
#181543 #431815 #154318
tetradic
#181543 #431529 #404315 #15432F
square
#181543 #431529 #404315 #15432F
split-complementary
#181543 #432F15 #294315
monochromatic
#080717 #080717 #181543 #292472 #3932A0

Accessibility & contrast

On white

17.11
#181543 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181543
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181543#FFFFFF#000000##FFFFFF
##1815431.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D44
Deuteranopia (green-blind)
#001A42
Tritanopia (blue-blind)
#032029
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181543;
/* rgb */ color: rgb(24, 21, 67);
/* oklch */ color: oklch(23.2% 0.084 280.5);
Tailwind
colors: {
  custom: {
    50: '#5a5278',
    500: '#181543',
    950: '#000000',
  },
}
SCSS
$custom: #181543;
$custom-light: #5a5278;
$custom-dark: #000000;
JSON
{
  "hex": "#181543",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 67
  },
  "hsl": {
    "h": 243.913,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2319,
    "c": 0.08387,
    "h": 280.5
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#181543
secondary
#777B39
accent
#DC4CD2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181543

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

Preview Lab → · Contrast checker → · Palette generator →

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