#181A34#181A34

#181A34 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.1% C 0.050 H 278.4°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#181A34
RGBrgb(24, 26, 52)
HSLhsl(236, 37%, 15%)
HSVhsv(236, 54%, 20%)
CMYKcmyk(53.8%, 50%, 0%, 79.6%)
CIE-LABlab(10.41, 7.70, -17.46)
CIE-LCHlch(10.41, 19.08, 293.79°)
OKLaboklab(23.07% 0.0073 -0.0494)
OKLCHoklch(23.07% 0.05 278.4)
XYZxyz(1.3657, 1.1808, 3.4041)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A34 #343218
analogous
#182834 #181A34 #241834
triadic
#181A34 #34181A #1A3418
tetradic
#181A34 #341828 #343218 #183424
square
#181A34 #341828 #343218 #183424
split-complementary
#181A34 #342418 #283418
monochromatic
#0A0A15 #0A0A15 #181A34 #2B2F5E #3F4488

Accessibility & contrast

On white

16.99
#181A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#181A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A34
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A34#FFFFFF#000000##FFFFFF
##181A341.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101D35
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#0E1F24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181a34;
/* rgb */ color: rgb(24, 26, 52);
/* oklch */ color: oklch(23.1% 0.050 278.4);
Tailwind
colors: {
  custom: {
    50: '#57566b',
    500: '#181a34',
    950: '#000000',
  },
}
SCSS
$custom: #181a34;
$custom-light: #57566b;
$custom-dark: #000000;
JSON
{
  "hex": "#181a34",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 52
  },
  "hsl": {
    "h": 235.714,
    "s": 36.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23065,
    "c": 0.0499,
    "h": 278.4
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#181A34
secondary
#6A663E
accent
#C55BCD
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #181A34

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

Preview Lab → · Contrast checker → · Palette generator →

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