#140D3A#140D3A

#140D3A is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.3% C 0.083 H 283.3°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#140D3A
RGBrgb(20, 13, 58)
HSLhsl(249, 63%, 14%)
HSVhsv(249, 78%, 23%)
CMYKcmyk(65.5%, 77.6%, 0%, 77.3%)
CIE-LABlab(6.70, 18.44, -27.80)
CIE-LCHlch(6.70, 33.36, 303.56°)
OKLaboklab(20.31% 0.019 -0.0803)
OKLCHoklch(20.31% 0.083 283.3)
XYZxyz(1.1959, 0.7420, 4.0824)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D3A #333A0D
analogous
#0D1D3A #140D3A #2B0D3A
triadic
#140D3A #3A140D #0D3A14
tetradic
#140D3A #3A0D1D #333A0D #0D3A2B
square
#140D3A #3A0D1D #333A0D #0D3A2B
split-complementary
#140D3A #3A2B0D #1D3A0D
monochromatic
#090619 #090619 #140D3A #25186C #36239E

Accessibility & contrast

On white

18.29
#140D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140D3A
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D3A#FFFFFF#000000##FFFFFF
##140D3A1.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#031922
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140d3a;
/* rgb */ color: rgb(20, 13, 58);
/* oklch */ color: oklch(20.3% 0.083 283.3);
Tailwind
colors: {
  custom: {
    50: '#574c71',
    500: '#140d3a',
    950: '#000000',
  },
}
SCSS
$custom: #140d3a;
$custom-light: #574c71;
$custom-dark: #000000;
JSON
{
  "hex": "#140d3a",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 249.333,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20307,
    "c": 0.08256,
    "h": 283.3
  },
  "luminance": 0.00742
}

Semantic roles & 50–950 ramp

primary
#140D3A
secondary
#6A762D
accent
#E641CD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140D3A

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

Preview Lab → · Contrast checker → · Palette generator →

#140D3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva