#181A44#181A44

#181A44 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.078 H 276.9°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#181A44
RGBrgb(24, 26, 68)
HSLhsl(237, 48%, 18%)
HSVhsv(237, 65%, 27%)
CMYKcmyk(64.7%, 61.8%, 0%, 73.3%)
CIE-LABlab(11.62, 13.94, -26.90)
CIE-LCHlch(11.62, 30.30, 297.40°)
OKLaboklab(24.36% 0.0093 -0.0771)
OKLCHoklch(24.36% 0.078 276.9)
XYZxyz(1.7891, 1.3502, 5.6341)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A44 #444218
analogous
#183044 #181A44 #2C1844
triadic
#181A44 #44181A #1A4418
tetradic
#181A44 #441830 #444218 #18442C
square
#181A44 #441830 #444218 #18442C
split-complementary
#181A44 #442C18 #304418
monochromatic
#080917 #080917 #181A44 #282B71 #383D9E

Accessibility & contrast

On white

16.54
#181A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#181A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A44
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A44#FFFFFF#000000##FFFFFF
##181A441.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012145
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#01242C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #181a44;
/* rgb */ color: rgb(24, 26, 68);
/* oklch */ color: oklch(24.4% 0.078 276.9);
Tailwind
colors: {
  custom: {
    50: '#5a5678',
    500: '#181a44',
    950: '#000000',
  },
}
SCSS
$custom: #181a44;
$custom-light: #5a5678;
$custom-dark: #000000;
JSON
{
  "hex": "#181a44",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 68
  },
  "hsl": {
    "h": 237.273,
    "s": 47.826,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24364,
    "c": 0.07766,
    "h": 276.9
  },
  "luminance": 0.0135
}

Semantic roles & 50–950 ramp

primary
#181A44
secondary
#7B783D
accent
#D150D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #181A44

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

Preview Lab → · Contrast checker → · Palette generator →

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