#0D142B#0D142B

#0D142B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.9% C 0.047 H 269.0°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#0D142B
RGBrgb(13, 20, 43)
HSLhsl(226, 54%, 11%)
HSVhsv(226, 70%, 17%)
CMYKcmyk(69.8%, 53.5%, 0%, 83.1%)
CIE-LABlab(6.87, 5.30, -16.55)
CIE-LCHlch(6.87, 17.38, 287.76°)
OKLaboklab(19.86% -0.0008 -0.0474)
OKLCHoklch(19.86% 0.047 269)
XYZxyz(0.8520, 0.7602, 2.3869)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D142B #2B240D
analogous
#0D232B #0D142B #150D2B
triadic
#0D142B #2B0D14 #142B0D
tetradic
#0D142B #2B0D23 #2B240D #0D2B15
square
#0D142B #2B0D23 #2B240D #0D2B15
split-complementary
#0D142B #2B150D #232B0D
monochromatic
#070B17 #070B17 #0D142B #1B2A5A #294089

Accessibility & contrast

On white

18.23
#0D142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0D142B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D142B
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D142B#FFFFFF#000000##FFFFFF
##0D142B1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172C
Deuteranopia (green-blind)
#07142B
Tritanopia (blue-blind)
#01191D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d142b;
/* rgb */ color: rgb(13, 20, 43);
/* oklch */ color: oklch(19.9% 0.047 269.0);
Tailwind
colors: {
  custom: {
    50: '#4e5164',
    500: '#0d142b',
    950: '#000000',
  },
}
SCSS
$custom: #0d142b;
$custom-light: #4e5164;
$custom-dark: #000000;
JSON
{
  "hex": "#0d142b",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 226,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19862,
    "c": 0.04736,
    "h": 269
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#0D142B
secondary
#66592E
accent
#BB4BDD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #0D142B

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

Preview Lab → · Contrast checker → · Palette generator →

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