#0D162A#0D162A

#0D162A is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.042 H 264.6°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#0D162A
RGBrgb(13, 22, 42)
HSLhsl(221, 53%, 11%)
HSVhsv(221, 69%, 16%)
CMYKcmyk(69%, 47.6%, 0%, 83.5%)
CIE-LABlab(7.47, 3.47, -14.86)
CIE-LCHlch(7.47, 15.26, 283.16°)
OKLaboklab(20.34% -0.004 -0.0421)
OKLCHoklch(20.34% 0.042 264.6)
XYZxyz(0.8707, 0.8265, 2.3037)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D162A #2A210D
analogous
#0D242A #0D162A #120D2A
triadic
#0D162A #2A0D16 #162A0D
tetradic
#0D162A #2A0D24 #2A210D #0D2A12
square
#0D162A #2A0D24 #2A210D #0D2A12
split-complementary
#0D162A #2A120D #242A0D
monochromatic
#070C17 #070C17 #0D162A #1B2E59 #2A4787

Accessibility & contrast

On white

18.02
#0D162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0D162A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D162A
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D162A#FFFFFF#000000##FFFFFF
##0D162A1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182B
Deuteranopia (green-blind)
#0A152A
Tritanopia (blue-blind)
#011A1D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d162a;
/* rgb */ color: rgb(13, 22, 42);
/* oklch */ color: oklch(20.3% 0.042 264.6);
Tailwind
colors: {
  custom: {
    50: '#4e5263',
    500: '#0d162a',
    950: '#000000',
  },
}
SCSS
$custom: #0d162a;
$custom-light: #4e5263;
$custom-dark: #000000;
JSON
{
  "hex": "#0d162a",
  "rgb": {
    "r": 13,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 221.379,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20335,
    "c": 0.04234,
    "h": 264.6
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#0D162A
secondary
#64542E
accent
#AF4CDC
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020205
muted
#787879

Preview Lab

Preview with #0D162A

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

Preview Lab → · Contrast checker → · Palette generator →

#0D162A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva