#18163E#18163E

#18163E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.074 H 281.1°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#18163E
RGBrgb(24, 22, 62)
HSLhsl(243, 48%, 16%)
HSVhsv(243, 65%, 24%)
CMYKcmyk(61.3%, 64.5%, 0%, 75.7%)
CIE-LABlab(9.92, 14.60, -25.42)
CIE-LCHlch(9.92, 29.32, 299.87°)
OKLaboklab(22.94% 0.0142 -0.0728)
OKLCHoklch(22.94% 0.074 281.1)
XYZxyz(1.5328, 1.1157, 4.6911)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18163E #3C3E16
analogous
#16283E #18163E #2C163E
triadic
#18163E #3E1816 #163E18
tetradic
#18163E #3E1628 #3C3E16 #163E2C
square
#18163E #3E1628 #3C3E16 #163E2C
split-complementary
#18163E #3E2C16 #283E16
monochromatic
#090817 #090817 #18163E #29266B #3B3698

Accessibility & contrast

On white

17.17
#18163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#18163E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18163E
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18163E#FFFFFF#000000##FFFFFF
##18163E1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#071F27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #18163e;
/* rgb */ color: rgb(24, 22, 62);
/* oklch */ color: oklch(22.9% 0.074 281.1);
Tailwind
colors: {
  custom: {
    50: '#595374',
    500: '#18163e',
    950: '#000000',
  },
}
SCSS
$custom: #18163e;
$custom-light: #595374;
$custom-dark: #000000;
JSON
{
  "hex": "#18163e",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 243,
    "s": 47.619,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22937,
    "c": 0.07416,
    "h": 281.1
  },
  "luminance": 0.01116
}

Semantic roles & 50–950 ramp

primary
#18163E
secondary
#72753B
accent
#D751D0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #18163E

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

Preview Lab → · Contrast checker → · Palette generator →

#18163E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva