#181546#181546

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

Color values

HEX#181546
RGBrgb(24, 21, 70)
HSLhsl(244, 54%, 18%)
HSVhsv(244, 70%, 27%)
CMYKcmyk(65.7%, 70%, 0%, 72.5%)
CIE-LABlab(10.35, 18.44, -30.36)
CIE-LCHlch(10.35, 35.52, 301.27°)
OKLaboklab(23.48% 0.0151 -0.0873)
OKLCHoklch(23.48% 0.089 279.8)
XYZxyz(1.7500, 1.1726, 5.9273)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181546 #434615
analogous
#152B46 #181546 #301546
triadic
#181546 #461815 #154618
tetradic
#181546 #46152B #434615 #154630
square
#181546 #46152B #434615 #154630
split-complementary
#181546 #463015 #2B4615
monochromatic
#080718 #080718 #181546 #282375 #3831A4

Accessibility & contrast

On white

17.01
#181546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181546
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181546#FFFFFF#000000##FFFFFF
##1815461.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181546;
/* rgb */ color: rgb(24, 21, 70);
/* oklch */ color: oklch(23.5% 0.089 279.8);
Tailwind
colors: {
  custom: {
    50: '#5b527a',
    500: '#181546',
    950: '#000000',
  },
}
SCSS
$custom: #181546;
$custom-light: #5b527a;
$custom-dark: #000000;
JSON
{
  "hex": "#181546",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 243.673,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23482,
    "c": 0.08861,
    "h": 279.8
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#181546
secondary
#7A7E39
accent
#DD4BD4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181546

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

Preview Lab → · Contrast checker → · Palette generator →

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