#0D142F#0D142F

#0D142F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.055 H 270.0°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#0D142F
RGBrgb(13, 20, 47)
HSLhsl(228, 57%, 12%)
HSVhsv(228, 72%, 18%)
CMYKcmyk(72.3%, 57.4%, 0%, 81.6%)
CIE-LABlab(7.14, 7.15, -19.08)
CIE-LCHlch(7.14, 20.37, 290.54°)
OKLaboklab(20.19% 0 -0.0546)
OKLCHoklch(20.19% 0.055 270)
XYZxyz(0.9291, 0.7910, 2.7925)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D142F #2F280D
analogous
#0D252F #0D142F #170D2F
triadic
#0D142F #2F0D14 #142F0D
tetradic
#0D142F #2F0D25 #2F280D #0D2F17
square
#0D142F #2F0D25 #2F280D #0D2F17
split-complementary
#0D142F #2F170D #252F0D
monochromatic
#070A18 #070A18 #0D142F #1A285F #283D8F

Accessibility & contrast

On white

18.13
#0D142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D142F
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D142F#FFFFFF#000000##FFFFFF
##0D142F1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071730
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0d142f;
/* rgb */ color: rgb(13, 20, 47);
/* oklch */ color: oklch(20.2% 0.055 270.0);
Tailwind
colors: {
  custom: {
    50: '#4f5167',
    500: '#0d142f',
    950: '#000000',
  },
}
SCSS
$custom: #0d142f;
$custom-light: #4f5167;
$custom-dark: #000000;
JSON
{
  "hex": "#0d142f",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 227.647,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20193,
    "c": 0.05464,
    "h": 270
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#0D142F
secondary
#6A5E2E
accent
#C148E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0D142F

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

Preview Lab → · Contrast checker → · Palette generator →

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