#0D164D#0D164D

#0D164D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.101 H 269.5°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#0D164D
RGBrgb(13, 22, 77)
HSLhsl(232, 71%, 18%)
HSVhsv(232, 83%, 30%)
CMYKcmyk(83.1%, 71.4%, 0%, 69.8%)
CIE-LABlab(10.52, 18.76, -34.99)
CIE-LCHlch(10.52, 39.70, 298.21°)
OKLaboklab(23.61% -0.001 -0.1012)
OKLCHoklch(23.61% 0.101 269.5)
XYZxyz(1.7920, 1.1950, 7.1560)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D164D #4D440D
analogous
#0D364D #0D164D #240D4D
triadic
#0D164D #4D0D16 #164D0D
tetradic
#0D164D #4D0D36 #4D440D #0D4D24
square
#0D164D #4D0D36 #4D440D #0D4D24
split-complementary
#0D164D #4D240D #364D0D
monochromatic
#04071A #04071A #0D164D #162581 #1F34B6

Accessibility & contrast

On white

16.95
#0D164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D164D
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D164D#FFFFFF#000000##FFFFFF
##0D164D1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d164d;
/* rgb */ color: rgb(13, 22, 77);
/* oklch */ color: oklch(23.6% 0.101 269.5);
Tailwind
colors: {
  custom: {
    50: '#58537f',
    500: '#0d164d',
    950: '#000000',
  },
}
SCSS
$custom: #0d164d;
$custom-light: #58537f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d164d",
  "rgb": {
    "r": 13,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 231.563,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23607,
    "c": 0.10119,
    "h": 269.5
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#0D164D
secondary
#887B2E
accent
#D53AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D164D

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

Preview Lab → · Contrast checker → · Palette generator →

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