#0D162D#0D162D

#0D162D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.6% C 0.048 H 266.2°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#0D162D
RGBrgb(13, 22, 45)
HSLhsl(223, 55%, 11%)
HSVhsv(223, 71%, 18%)
CMYKcmyk(71.1%, 51.1%, 0%, 82.4%)
CIE-LABlab(7.67, 4.79, -16.77)
CIE-LCHlch(7.67, 17.44, 285.95°)
OKLaboklab(20.56% -0.0032 -0.0477)
OKLCHoklch(20.56% 0.048 266.2)
XYZxyz(0.9264, 0.8488, 2.5971)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D162D #2D240D
analogous
#0D262D #0D162D #140D2D
triadic
#0D162D #2D0D16 #162D0D
tetradic
#0D162D #2D0D26 #2D240D #0D2D14
square
#0D162D #2D0D26 #2D240D #0D2D14
split-complementary
#0D162D #2D140D #262D0D
monochromatic
#070C18 #070C18 #0D162D #1B2D5C #28448C

Accessibility & contrast

On white

17.95
#0D162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D162D
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D162D#FFFFFF#000000##FFFFFF
##0D162D1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182E
Deuteranopia (green-blind)
#08162D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0d162d;
/* rgb */ color: rgb(13, 22, 45);
/* oklch */ color: oklch(20.6% 0.048 266.2);
Tailwind
colors: {
  custom: {
    50: '#4f5266',
    500: '#0d162d',
    950: '#000000',
  },
}
SCSS
$custom: #0d162d;
$custom-light: #4f5266;
$custom-dark: #000000;
JSON
{
  "hex": "#0d162d",
  "rgb": {
    "r": 13,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 223.125,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20564,
    "c": 0.04781,
    "h": 266.2
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#0D162D
secondary
#68582E
accent
#B549DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D162D

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

Preview Lab → · Contrast checker → · Palette generator →

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