#181532#181532

#181532 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.7% C 0.055 H 285.5°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#181532
RGBrgb(24, 21, 50)
HSLhsl(246, 41%, 14%)
HSVhsv(246, 58%, 20%)
CMYKcmyk(52%, 58%, 0%, 80.4%)
CIE-LABlab(8.66, 10.79, -18.80)
CIE-LCHlch(8.66, 21.68, 299.84°)
OKLaboklab(21.69% 0.0148 -0.0533)
OKLCHoklch(21.69% 0.055 285.5)
XYZxyz(1.2204, 0.9608, 3.1381)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181532 #2F3215
analogous
#152132 #181532 #271532
triadic
#181532 #321815 #153218
tetradic
#181532 #321521 #2F3215 #153227
square
#181532 #321521 #2F3215 #153227
split-complementary
#181532 #322715 #213215
monochromatic
#0A0916 #0A0916 #181532 #2D275D #413988

Accessibility & contrast

On white

17.61
#181532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#181532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181532
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181532#FFFFFF#000000##FFFFFF
##1815321.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091A33
Deuteranopia (green-blind)
#081831
Tritanopia (blue-blind)
#101B21
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #181532;
/* rgb */ color: rgb(24, 21, 50);
/* oklch */ color: oklch(21.7% 0.055 285.5);
Tailwind
colors: {
  custom: {
    50: '#57526a',
    500: '#181532',
    950: '#000000',
  },
}
SCSS
$custom: #181532;
$custom-light: #57526a;
$custom-dark: #000000;
JSON
{
  "hex": "#181532",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 246.207,
    "s": 40.845,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2169,
    "c": 0.05535,
    "h": 285.5
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#181532
secondary
#64693A
accent
#D157C4
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030206
muted
#78787A

Preview Lab

Preview with #181532

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

Preview Lab → · Contrast checker → · Palette generator →

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