#0D143C#0D143C

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

Color values

HEX#0D143C
RGBrgb(13, 20, 60)
HSLhsl(231, 64%, 14%)
HSVhsv(231, 78%, 24%)
CMYKcmyk(78.3%, 66.7%, 0%, 76.5%)
CIE-LABlab(8.24, 12.97, -26.77)
CIE-LCHlch(8.24, 29.75, 295.85°)
OKLaboklab(21.4% 0.0012 -0.0771)
OKLCHoklch(21.4% 0.077 270.9)
XYZxyz(1.2315, 0.9120, 4.3852)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D143C #3C350D
analogous
#0D2C3C #0D143C #1E0D3C
triadic
#0D143C #3C0D14 #143C0D
tetradic
#0D143C #3C0D2C #3C350D #0D3C1E
square
#0D143C #3C0D2C #3C350D #0D3C1E
split-complementary
#0D143C #3C1E0D #2C3C0D
monochromatic
#050819 #050819 #0D143C #18256E #2336A1

Accessibility & contrast

On white

17.76
#0D143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D143C
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D143C#FFFFFF#000000##FFFFFF
##0D143C1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#001E25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0d143c;
/* rgb */ color: rgb(13, 20, 60);
/* oklch */ color: oklch(21.4% 0.077 270.9);
Tailwind
colors: {
  custom: {
    50: '#535172',
    500: '#0d143c',
    950: '#000000',
  },
}
SCSS
$custom: #0d143c;
$custom-light: #535172;
$custom-dark: #000000;
JSON
{
  "hex": "#0d143c",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 231.064,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21395,
    "c": 0.07712,
    "h": 270.9
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#0D143C
secondary
#786C2D
accent
#CF40E7
background
#F4F4F6
surface
#E8E7EC
border
#C4C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #0D143C

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

Preview Lab → · Contrast checker → · Palette generator →

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