#0D143A#0D143A

#0D143A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.074 H 270.9°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#0D143A
RGBrgb(13, 20, 58)
HSLhsl(231, 63%, 14%)
HSVhsv(231, 78%, 23%)
CMYKcmyk(77.6%, 65.5%, 0%, 77.3%)
CIE-LABlab(8.05, 12.09, -25.63)
CIE-LCHlch(8.05, 28.34, 295.26°)
OKLaboklab(21.2% 0.0011 -0.0738)
OKLCHoklch(21.2% 0.074 270.9)
XYZxyz(1.1796, 0.8913, 4.1120)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D143A #3A330D
analogous
#0D2B3A #0D143A #1D0D3A
triadic
#0D143A #3A0D14 #143A0D
tetradic
#0D143A #3A0D2B #3A330D #0D3A1D
square
#0D143A #3A0D2B #3A330D #0D3A1D
split-complementary
#0D143A #3A1D0D #2B3A0D
monochromatic
#060919 #060919 #0D143A #18256C #23369E

Accessibility & contrast

On white

17.82
#0D143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0D143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D143A
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D143A#FFFFFF#000000##FFFFFF
##0D143A1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#001D24
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d143a;
/* rgb */ color: rgb(13, 20, 58);
/* oklch */ color: oklch(21.2% 0.074 270.9);
Tailwind
colors: {
  custom: {
    50: '#525170',
    500: '#0d143a',
    950: '#000000',
  },
}
SCSS
$custom: #0d143a;
$custom-light: #525170;
$custom-dark: #000000;
JSON
{
  "hex": "#0d143a",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 230.667,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21198,
    "c": 0.07379,
    "h": 270.9
  },
  "luminance": 0.00891
}

Semantic roles & 50–950 ramp

primary
#0D143A
secondary
#766A2D
accent
#CD41E6
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #0D143A

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

Preview Lab → · Contrast checker → · Palette generator →

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