#181534#181534

#181534 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.9% C 0.059 H 284.8°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#181534
RGBrgb(24, 21, 52)
HSLhsl(246, 42%, 14%)
HSVhsv(246, 60%, 20%)
CMYKcmyk(53.8%, 59.6%, 0%, 79.6%)
CIE-LABlab(8.81, 11.54, -20.02)
CIE-LCHlch(8.81, 23.11, 299.95°)
OKLaboklab(21.85% 0.0151 -0.0569)
OKLCHoklch(21.85% 0.059 284.8)
XYZxyz(1.2645, 0.9784, 3.3704)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181534 #313415
analogous
#152234 #181534 #281534
triadic
#181534 #341815 #153418
tetradic
#181534 #341522 #313415 #153428
square
#181534 #341522 #313415 #153428
split-complementary
#181534 #342815 #223415
monochromatic
#0A0916 #0A0916 #181534 #2C2760 #40388B

Accessibility & contrast

On white

17.56
#181534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#181534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181534
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181534#FFFFFF#000000##FFFFFF
##1815341.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#071833
Tritanopia (blue-blind)
#0F1C22
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #181534;
/* rgb */ color: rgb(24, 21, 52);
/* oklch */ color: oklch(21.9% 0.059 284.8);
Tailwind
colors: {
  custom: {
    50: '#57526b',
    500: '#181534',
    950: '#000000',
  },
}
SCSS
$custom: #181534;
$custom-light: #57526b;
$custom-dark: #000000;
JSON
{
  "hex": "#181534",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 245.806,
    "s": 42.466,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21851,
    "c": 0.05886,
    "h": 284.8
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#181534
secondary
#666B3A
accent
#D256C6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030207
muted
#78787A

Preview Lab

Preview with #181534

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

Preview Lab → · Contrast checker → · Palette generator →

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