#0D164E#0D164E

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

Color values

HEX#0D164E
RGBrgb(13, 22, 78)
HSLhsl(232, 71%, 18%)
HSVhsv(232, 83%, 31%)
CMYKcmyk(83.3%, 71.8%, 0%, 69.4%)
CIE-LABlab(10.63, 19.19, -35.50)
CIE-LCHlch(10.63, 40.36, 298.39°)
OKLaboklab(23.72% -0.001 -0.1027)
OKLCHoklch(23.72% 0.103 269.4)
XYZxyz(1.8276, 1.2092, 7.3433)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D164E #4E450D
analogous
#0D364E #0D164E #240D4E
triadic
#0D164E #4E0D16 #164E0D
tetradic
#0D164E #4E0D36 #4E450D #0D4E24
square
#0D164E #4E0D36 #4E450D #0D4E24
split-complementary
#0D164E #4E240D #364E0D
monochromatic
#04071A #04071A #0D164E #162582 #1E34B7

Accessibility & contrast

On white

16.91
#0D164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D164E
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D164E#FFFFFF#000000##FFFFFF
##0D164E1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d164e;
/* rgb */ color: rgb(13, 22, 78);
/* oklch */ color: oklch(23.7% 0.103 269.4);
Tailwind
colors: {
  custom: {
    50: '#585380',
    500: '#0d164e',
    950: '#000000',
  },
}
SCSS
$custom: #0d164e;
$custom-light: #585380;
$custom-dark: #000000;
JSON
{
  "hex": "#0d164e",
  "rgb": {
    "r": 13,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 231.692,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23716,
    "c": 0.10272,
    "h": 269.4
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#0D164E
secondary
#897C2E
accent
#D53AEE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #0D164E

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

Preview Lab → · Contrast checker → · Palette generator →

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