#181547#181547

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

Color values

HEX#181547
RGBrgb(24, 21, 71)
HSLhsl(244, 54%, 18%)
HSVhsv(244, 70%, 28%)
CMYKcmyk(66.2%, 70.4%, 0%, 72.2%)
CIE-LABlab(10.45, 18.82, -30.91)
CIE-LCHlch(10.45, 36.19, 301.34°)
OKLaboklab(23.58% 0.0151 -0.0889)
OKLCHoklch(23.58% 0.09 279.6)
XYZxyz(1.7818, 1.1853, 6.0949)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181547 #444715
analogous
#152B47 #181547 #311547
triadic
#181547 #471815 #154718
tetradic
#181547 #47152B #444715 #154731
square
#181547 #47152B #444715 #154731
split-complementary
#181547 #473115 #2B4715
monochromatic
#080718 #080718 #181547 #282376 #3831A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##181547#FFFFFF#000000##FFFFFF
##1815471.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)
#001E49
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181547;
/* rgb */ color: rgb(24, 21, 71);
/* oklch */ color: oklch(23.6% 0.090 279.6);
Tailwind
colors: {
  custom: {
    50: '#5b527b',
    500: '#181547',
    950: '#000000',
  },
}
SCSS
$custom: #181547;
$custom-light: #5b527b;
$custom-dark: #000000;
JSON
{
  "hex": "#181547",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 243.6,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23581,
    "c": 0.09017,
    "h": 279.6
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#181547
secondary
#7B7F39
accent
#DE4AD5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #181547

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

Preview Lab → · Contrast checker → · Palette generator →

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