#181A41#181A41

#181A41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.073 H 277.3°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#181A41
RGBrgb(24, 26, 65)
HSLhsl(237, 46%, 17%)
HSVhsv(237, 63%, 25%)
CMYKcmyk(63.1%, 60%, 0%, 74.5%)
CIE-LABlab(11.38, 12.75, -25.19)
CIE-LCHlch(11.38, 28.24, 296.85°)
OKLaboklab(24.1% 0.0092 -0.0721)
OKLCHoklch(24.1% 0.073 277.3)
XYZxyz(1.6999, 1.3145, 5.1642)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A41 #413F18
analogous
#182F41 #181A41 #2A1841
triadic
#181A41 #41181A #1A4118
tetradic
#181A41 #41182F #413F18 #18412A
square
#181A41 #41182F #413F18 #18412A
split-complementary
#181A41 #412A18 #2F4118
monochromatic
#080916 #080916 #181A41 #292C6E #393E9A

Accessibility & contrast

On white

16.63
#181A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A41
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A41#FFFFFF#000000##FFFFFF
##181A411.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052042
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#04232A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181a41;
/* rgb */ color: rgb(24, 26, 65);
/* oklch */ color: oklch(24.1% 0.073 277.3);
Tailwind
colors: {
  custom: {
    50: '#595676',
    500: '#181a41',
    950: '#000000',
  },
}
SCSS
$custom: #181a41;
$custom-light: #595676;
$custom-dark: #000000;
JSON
{
  "hex": "#181a41",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 237.073,
    "s": 46.067,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24102,
    "c": 0.07265,
    "h": 277.3
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#181A41
secondary
#78753D
accent
#CF52D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040308
muted
#79787B

Preview Lab

Preview with #181A41

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

Preview Lab → · Contrast checker → · Palette generator →

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