#181849#181849

#181849 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.089 H 277.5°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#181849
RGBrgb(24, 24, 73)
HSLhsl(240, 51%, 19%)
HSVhsv(240, 67%, 29%)
CMYKcmyk(67.1%, 67.1%, 0%, 71.4%)
CIE-LABlab(11.47, 17.41, -30.63)
CIE-LCHlch(11.47, 35.23, 299.62°)
OKLaboklab(24.39% 0.0117 -0.0881)
OKLCHoklch(24.39% 0.089 277.5)
XYZxyz(1.9055, 1.3284, 6.4580)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181849 #494918
analogous
#183149 #181849 #311849
triadic
#181849 #491818 #184918
tetradic
#181849 #491831 #494918 #184931
square
#181849 #491831 #494918 #184931
split-complementary
#181849 #493118 #314918
monochromatic
#080817 #09091B #181849 #272777 #3636A5

Accessibility & contrast

On white

16.59
#181849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#181849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181849
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181849#FFFFFF#000000##FFFFFF
##1818491.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181849;
/* rgb */ color: rgb(24, 24, 73);
/* oklch */ color: oklch(24.4% 0.089 277.5);
Tailwind
colors: {
  custom: {
    50: '#5b547c',
    500: '#181849',
    950: '#000000',
  },
}
SCSS
$custom: #181849;
$custom-light: #5b547c;
$custom-dark: #000000;
JSON
{
  "hex": "#181849",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 240,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24391,
    "c": 0.08885,
    "h": 277.5
  },
  "luminance": 0.01328
}

Semantic roles & 50–950 ramp

primary
#181849
secondary
#80803D
accent
#DA4EDA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #181849

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

Preview Lab → · Contrast checker → · Palette generator →

#181849 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva