#0D142E#0D142E

#0D142E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.1% C 0.053 H 269.8°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#0D142E
RGBrgb(13, 20, 46)
HSLhsl(227, 56%, 12%)
HSVhsv(227, 72%, 18%)
CMYKcmyk(71.7%, 56.5%, 0%, 82%)
CIE-LABlab(7.07, 6.68, -18.45)
CIE-LCHlch(7.07, 19.62, 289.90°)
OKLaboklab(20.11% -0.0002 -0.0528)
OKLCHoklch(20.11% 0.053 269.8)
XYZxyz(0.9091, 0.7831, 2.6875)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D142E #2E270D
analogous
#0D252E #0D142E #170D2E
triadic
#0D142E #2E0D14 #142E0D
tetradic
#0D142E #2E0D25 #2E270D #0D2E17
square
#0D142E #2E0D25 #2E270D #0D2E17
split-complementary
#0D142E #2E170D #252E0D
monochromatic
#070A18 #070A18 #0D142E #1A295E #283D8D

Accessibility & contrast

On white

18.16
#0D142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0D142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D142E
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D142E#FFFFFF#000000##FFFFFF
##0D142E1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d142e;
/* rgb */ color: rgb(13, 20, 46);
/* oklch */ color: oklch(20.1% 0.053 269.8);
Tailwind
colors: {
  custom: {
    50: '#4f5167',
    500: '#0d142e',
    950: '#000000',
  },
}
SCSS
$custom: #0d142e;
$custom-light: #4f5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0d142e",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 227.273,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20108,
    "c": 0.05284,
    "h": 269.8
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#0D142E
secondary
#695C2E
accent
#BF49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D142E

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

Preview Lab → · Contrast checker → · Palette generator →

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