#18184A#18184A

#18184A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.090 H 277.4°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#18184A
RGBrgb(24, 24, 74)
HSLhsl(240, 51%, 19%)
HSVhsv(240, 68%, 29%)
CMYKcmyk(67.6%, 67.6%, 0%, 71%)
CIE-LABlab(11.56, 17.81, -31.17)
CIE-LCHlch(11.56, 35.90, 299.74°)
OKLaboklab(24.49% 0.0116 -0.0897)
OKLCHoklch(24.49% 0.09 277.4)
XYZxyz(1.9390, 1.3417, 6.6340)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18184A #4A4A18
analogous
#18314A #18184A #31184A
triadic
#18184A #4A1818 #184A18
tetradic
#18184A #4A1831 #4A4A18 #184A31
square
#18184A #4A1831 #4A4A18 #184A31
split-complementary
#18184A #4A3118 #314A18
monochromatic
#070717 #09091C #18184A #272778 #3636A6

Accessibility & contrast

On white

16.56
#18184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#18184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18184A
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18184A#FFFFFF#000000##FFFFFF
##18184A1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#00242E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #18184a;
/* rgb */ color: rgb(24, 24, 74);
/* oklch */ color: oklch(24.5% 0.090 277.4);
Tailwind
colors: {
  custom: {
    50: '#5c547d',
    500: '#18184a',
    950: '#000000',
  },
}
SCSS
$custom: #18184a;
$custom-light: #5c547d;
$custom-dark: #000000;
JSON
{
  "hex": "#18184a",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 240,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24487,
    "c": 0.09043,
    "h": 277.4
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#18184A
secondary
#81813D
accent
#DA4DDA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #18184A

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

Preview Lab → · Contrast checker → · Palette generator →

#18184A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva