#181A49#181A49

#181A49 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.8% C 0.086 H 276.3°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#181A49
RGBrgb(24, 26, 73)
HSLhsl(238, 51%, 19%)
HSVhsv(238, 67%, 29%)
CMYKcmyk(67.1%, 64.4%, 0%, 71.4%)
CIE-LABlab(12.05, 15.93, -29.69)
CIE-LCHlch(12.05, 33.70, 298.22°)
OKLaboklab(24.82% 0.0095 -0.0853)
OKLCHoklch(24.82% 0.086 276.3)
XYZxyz(1.9483, 1.4139, 6.4723)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A49 #494718
analogous
#183349 #181A49 #2F1849
triadic
#181A49 #49181A #1A4918
tetradic
#181A49 #491833 #494718 #18492F
square
#181A49 #491833 #494718 #18492F
split-complementary
#181A49 #492F18 #334918
monochromatic
#080817 #090A1B #181A49 #272A77 #363BA5

Accessibility & contrast

On white

16.37
#181A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#181A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A49
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A49#FFFFFF#000000##FFFFFF
##181A491.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #181a49;
/* rgb */ color: rgb(24, 26, 73);
/* oklch */ color: oklch(24.8% 0.086 276.3);
Tailwind
colors: {
  custom: {
    50: '#5b567c',
    500: '#181a49',
    950: '#000000',
  },
}
SCSS
$custom: #181a49;
$custom-light: #5b567c;
$custom-dark: #000000;
JSON
{
  "hex": "#181a49",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 237.551,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24818,
    "c": 0.08582,
    "h": 276.3
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#181A49
secondary
#807D3D
accent
#D44EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #181A49

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

Preview Lab → · Contrast checker → · Palette generator →

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