#181C32#181C32

#181C32 is a very dark, muted blue. Relative luminance 0.013; OKLCH L 23.4% C 0.043 H 274.8°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#181C32
RGBrgb(24, 28, 50)
HSLhsl(231, 35%, 15%)
HSVhsv(231, 52%, 20%)
CMYKcmyk(52%, 44%, 0%, 80.4%)
CIE-LABlab(10.96, 5.42, -15.16)
CIE-LCHlch(10.96, 16.10, 289.66°)
OKLaboklab(23.44% 0.0036 -0.0426)
OKLCHoklch(23.44% 0.043 274.8)
XYZxyz(1.3675, 1.2549, 3.1872)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C32 #322E18
analogous
#182932 #181C32 #211832
triadic
#181C32 #32181C #1C3218
tetradic
#181C32 #321829 #322E18 #183221
square
#181C32 #321829 #322E18 #183221
split-complementary
#181C32 #322118 #293218
monochromatic
#0A0C15 #0A0C15 #181C32 #2C335B #404A85

Accessibility & contrast

On white

16.79
#181C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#181C32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C32
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C32#FFFFFF#000000##FFFFFF
##181C321.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141F33
Deuteranopia (green-blind)
#121C31
Tritanopia (blue-blind)
#0F2024
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #181c32;
/* rgb */ color: rgb(24, 28, 50);
/* oklch */ color: oklch(23.4% 0.043 274.8);
Tailwind
colors: {
  custom: {
    50: '#56576a',
    500: '#181c32',
    950: '#000000',
  },
}
SCSS
$custom: #181c32;
$custom-light: #56576a;
$custom-dark: #000000;
JSON
{
  "hex": "#181c32",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 50
  },
  "hsl": {
    "h": 230.769,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23438,
    "c": 0.0428,
    "h": 274.8
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#181C32
secondary
#67613F
accent
#BA5DCB
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #181C32

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

Preview Lab → · Contrast checker → · Palette generator →

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