#0D142C#0D142C

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

Color values

HEX#0D142C
RGBrgb(13, 20, 44)
HSLhsl(226, 54%, 11%)
HSVhsv(226, 70%, 17%)
CMYKcmyk(70.5%, 54.5%, 0%, 82.7%)
CIE-LABlab(6.93, 5.76, -17.19)
CIE-LCHlch(6.93, 18.13, 288.53°)
OKLaboklab(19.94% -0.0006 -0.0492)
OKLCHoklch(19.94% 0.049 269.3)
XYZxyz(0.8706, 0.7677, 2.4847)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D142C #2C250D
analogous
#0D232C #0D142C #150D2C
triadic
#0D142C #2C0D14 #142C0D
tetradic
#0D142C #2C0D23 #2C250D #0D2C15
square
#0D142C #2C0D23 #2C250D #0D2C15
split-complementary
#0D142C #2C150D #232C0D
monochromatic
#070B18 #070B18 #0D142C #1B295B #293F8A

Accessibility & contrast

On white

18.20
#0D142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D142C
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D142C#FFFFFF#000000##FFFFFF
##0D142C1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09172D
Deuteranopia (green-blind)
#06142B
Tritanopia (blue-blind)
#00191D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0d142c;
/* rgb */ color: rgb(13, 20, 44);
/* oklch */ color: oklch(19.9% 0.049 269.3);
Tailwind
colors: {
  custom: {
    50: '#4f5165',
    500: '#0d142c',
    950: '#000000',
  },
}
SCSS
$custom: #0d142c;
$custom-light: #4f5165;
$custom-dark: #000000;
JSON
{
  "hex": "#0d142c",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 226.452,
    "s": 54.386,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19943,
    "c": 0.04919,
    "h": 269.3
  },
  "luminance": 0.00768
}

Semantic roles & 50–950 ramp

primary
#0D142C
secondary
#675A2E
accent
#BC4ADE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A

Preview Lab

Preview with #0D142C

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

Preview Lab → · Contrast checker → · Palette generator →

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