#0D164F#0D164F

#0D164F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.104 H 269.4°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#0D164F
RGBrgb(13, 22, 79)
HSLhsl(232, 72%, 18%)
HSVhsv(232, 84%, 31%)
CMYKcmyk(83.5%, 72.2%, 0%, 69%)
CIE-LABlab(10.73, 19.61, -36.02)
CIE-LCHlch(10.73, 41.01, 298.56°)
OKLaboklab(23.83% -0.0011 -0.1042)
OKLCHoklch(23.83% 0.104 269.4)
XYZxyz(1.8637, 1.2237, 7.5336)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D164F #4F460D
analogous
#0D374F #0D164F #250D4F
triadic
#0D164F #4F0D16 #164F0D
tetradic
#0D164F #4F0D37 #4F460D #0D4F25
square
#0D164F #4F0D37 #4F460D #0D4F25
split-complementary
#0D164F #4F250D #374F0D
monochromatic
#04071A #04071A #0D164F #162584 #1E33B8

Accessibility & contrast

On white

16.87
#0D164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0D164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D164F
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D164F#FFFFFF#000000##FFFFFF
##0D164F1.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d164f;
/* rgb */ color: rgb(13, 22, 79);
/* oklch */ color: oklch(23.8% 0.104 269.4);
Tailwind
colors: {
  custom: {
    50: '#585381',
    500: '#0d164f',
    950: '#000000',
  },
}
SCSS
$custom: #0d164f;
$custom-light: #585381;
$custom-dark: #000000;
JSON
{
  "hex": "#0d164f",
  "rgb": {
    "r": 13,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 231.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23826,
    "c": 0.10422,
    "h": 269.4
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#0D164F
secondary
#8A7D2E
accent
#D639EE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D164F

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

Preview Lab → · Contrast checker → · Palette generator →

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