#140D3D#140D3D

#140D3D is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.087 H 282.2°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#140D3D
RGBrgb(20, 13, 61)
HSLhsl(249, 65%, 15%)
HSVhsv(249, 79%, 24%)
CMYKcmyk(67.2%, 78.7%, 0%, 76.1%)
CIE-LABlab(6.99, 19.71, -29.50)
CIE-LCHlch(6.99, 35.48, 303.75°)
OKLaboklab(20.63% 0.0185 -0.0852)
OKLCHoklch(20.63% 0.087 282.2)
XYZxyz(1.2745, 0.7734, 4.4961)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D3D #363D0D
analogous
#0D1E3D #140D3D #2C0D3D
triadic
#140D3D #3D140D #0D3D14
tetradic
#140D3D #3D0D1E #363D0D #0D3D2C
square
#140D3D #3D0D1E #363D0D #0D3D2C
split-complementary
#140D3D #3D2C0D #1E3D0D
monochromatic
#080519 #080519 #140D3D #25186F #3523A2

Accessibility & contrast

On white

18.19
#140D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D3D
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D3D#FFFFFF#000000##FFFFFF
##140D3D1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140d3d;
/* rgb */ color: rgb(20, 13, 61);
/* oklch */ color: oklch(20.6% 0.087 282.2);
Tailwind
colors: {
  custom: {
    50: '#574c73',
    500: '#140d3d',
    950: '#000000',
  },
}
SCSS
$custom: #140d3d;
$custom-light: #574c73;
$custom-dark: #000000;
JSON
{
  "hex": "#140d3d",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 61
  },
  "hsl": {
    "h": 248.75,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2063,
    "c": 0.08715,
    "h": 282.2
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#140D3D
secondary
#6E792D
accent
#E840CF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #140D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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