#18164A#18164A

#18164A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.093 H 278.5°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#18164A
RGBrgb(24, 22, 74)
HSLhsl(242, 54%, 19%)
HSVhsv(242, 70%, 29%)
CMYKcmyk(67.6%, 70.3%, 0%, 71%)
CIE-LABlab(11.01, 19.26, -32.08)
CIE-LCHlch(11.01, 37.42, 300.98°)
OKLaboklab(24.08% 0.0137 -0.0923)
OKLCHoklch(24.08% 0.093 278.5)
XYZxyz(1.8992, 1.2623, 6.6208)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18164A #484A16
analogous
#162E4A #18164A #32164A
triadic
#18164A #4A1816 #164A18
tetradic
#18164A #4A162E #484A16 #164A32
square
#18164A #4A162E #484A16 #164A32
split-complementary
#18164A #4A3216 #2E4A16
monochromatic
#080718 #09081B #18164A #272479 #3732A8

Accessibility & contrast

On white

16.77
#18164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#18164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18164A
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18164A#FFFFFF#000000##FFFFFF
##18164A1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#00232D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #18164a;
/* rgb */ color: rgb(24, 22, 74);
/* oklch */ color: oklch(24.1% 0.093 278.5);
Tailwind
colors: {
  custom: {
    50: '#5c537d',
    500: '#18164a',
    950: '#000000',
  },
}
SCSS
$custom: #18164a;
$custom-light: #5c537d;
$custom-dark: #000000;
JSON
{
  "hex": "#18164a",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 242.308,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2408,
    "c": 0.09337,
    "h": 278.5
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#18164A
secondary
#7F823A
accent
#DE4AD8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #18164A

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

Preview Lab → · Contrast checker → · Palette generator →

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