#181A32#181A32

#181A32 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 22.9% C 0.046 H 278.5°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#181A32
RGBrgb(24, 26, 50)
HSLhsl(235, 35%, 15%)
HSVhsv(235, 52%, 20%)
CMYKcmyk(52%, 48%, 0%, 80.4%)
CIE-LABlab(10.28, 6.94, -16.22)
CIE-LCHlch(10.28, 17.65, 293.17°)
OKLaboklab(22.92% 0.0068 -0.0457)
OKLCHoklch(22.92% 0.046 278.5)
XYZxyz(1.3216, 1.1632, 3.1719)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A32 #323018
analogous
#182732 #181A32 #231832
triadic
#181A32 #32181A #1A3218
tetradic
#181A32 #321827 #323018 #183223
square
#181A32 #321827 #323018 #183223
split-complementary
#181A32 #322318 #273218
monochromatic
#0A0B15 #0A0B15 #181A32 #2C305B #404585

Accessibility & contrast

On white

17.04
#181A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#181A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A32
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A32#FFFFFF#000000##FFFFFF
##181A321.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111D33
Deuteranopia (green-blind)
#0F1B31
Tritanopia (blue-blind)
#0F1F23
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181a32;
/* rgb */ color: rgb(24, 26, 50);
/* oklch */ color: oklch(22.9% 0.046 278.5);
Tailwind
colors: {
  custom: {
    50: '#56566a',
    500: '#181a32',
    950: '#000000',
  },
}
SCSS
$custom: #181a32;
$custom-light: #56566a;
$custom-dark: #000000;
JSON
{
  "hex": "#181a32",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 235.385,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22921,
    "c": 0.04625,
    "h": 278.5
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#181A32
secondary
#67643F
accent
#C35DCB
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #181A32

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

Preview Lab → · Contrast checker → · Palette generator →

#181A32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva