#0D143F#0D143F

#0D143F is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.082 H 270.8°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#0D143F
RGBrgb(13, 20, 63)
HSLhsl(232, 66%, 15%)
HSVhsv(232, 79%, 25%)
CMYKcmyk(79.4%, 68.3%, 0%, 75.3%)
CIE-LABlab(8.52, 14.28, -28.45)
CIE-LCHlch(8.52, 31.83, 296.65°)
OKLaboklab(21.7% 0.0012 -0.082)
OKLCHoklch(21.7% 0.082 270.8)
XYZxyz(1.3130, 0.9446, 4.8148)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D143F #3F380D
analogous
#0D2D3F #0D143F #1F0D3F
triadic
#0D143F #3F0D14 #143F0D
tetradic
#0D143F #3F0D2D #3F380D #0D3F1F
square
#0D143F #3F0D2D #3F380D #0D3F1F
split-complementary
#0D143F #3F1F0D #2D3F0D
monochromatic
#050819 #050819 #0D143F #172472 #2234A4

Accessibility & contrast

On white

17.66
#0D143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#0D143F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D143F
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D143F#FFFFFF#000000##FFFFFF
##0D143F1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #0d143f;
/* rgb */ color: rgb(13, 20, 63);
/* oklch */ color: oklch(21.7% 0.082 270.8);
Tailwind
colors: {
  custom: {
    50: '#545174',
    500: '#0d143f',
    950: '#000000',
  },
}
SCSS
$custom: #0d143f;
$custom-light: #545174;
$custom-dark: #000000;
JSON
{
  "hex": "#0d143f",
  "rgb": {
    "r": 13,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 231.6,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21697,
    "c": 0.08205,
    "h": 270.8
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#0D143F
secondary
#7B702D
accent
#D13FE9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0D143F

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

Preview Lab → · Contrast checker → · Palette generator →

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