#0D162E#0D162E

#0D162E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.6% C 0.050 H 266.6°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#0D162E
RGBrgb(13, 22, 46)
HSLhsl(224, 56%, 12%)
HSVhsv(224, 72%, 18%)
CMYKcmyk(71.7%, 52.2%, 0%, 82%)
CIE-LABlab(7.74, 5.23, -17.39)
CIE-LCHlch(7.74, 18.16, 286.74°)
OKLaboklab(20.64% -0.0029 -0.0495)
OKLCHoklch(20.64% 0.05 266.6)
XYZxyz(0.9459, 0.8566, 2.6997)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D162E #2E250D
analogous
#0D272E #0D162E #150D2E
triadic
#0D162E #2E0D16 #162E0D
tetradic
#0D162E #2E0D27 #2E250D #0D2E15
square
#0D162E #2E0D27 #2E250D #0D2E15
split-complementary
#0D162E #2E150D #272E0D
monochromatic
#070B18 #070B18 #0D162E #1A2D5E #28448D

Accessibility & contrast

On white

17.93
#0D162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D162E
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D162E#FFFFFF#000000##FFFFFF
##0D162E1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d162e;
/* rgb */ color: rgb(13, 22, 46);
/* oklch */ color: oklch(20.6% 0.050 266.6);
Tailwind
colors: {
  custom: {
    50: '#4f5267',
    500: '#0d162e',
    950: '#000000',
  },
}
SCSS
$custom: #0d162e;
$custom-light: #4f5267;
$custom-dark: #000000;
JSON
{
  "hex": "#0d162e",
  "rgb": {
    "r": 13,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 223.636,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20643,
    "c": 0.04962,
    "h": 266.6
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#0D162E
secondary
#69592E
accent
#B649DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D162E

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

Preview Lab → · Contrast checker → · Palette generator →

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