#140D3E#140D3E

#140D3E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.089 H 281.9°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#140D3E
RGBrgb(20, 13, 62)
HSLhsl(249, 65%, 15%)
HSVhsv(249, 79%, 24%)
CMYKcmyk(67.7%, 79%, 0%, 75.7%)
CIE-LABlab(7.08, 20.12, -30.05)
CIE-LCHlch(7.08, 36.17, 303.80°)
OKLaboklab(20.74% 0.0183 -0.0867)
OKLCHoklch(20.74% 0.089 281.9)
XYZxyz(1.3016, 0.7843, 4.6393)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D3E #373E0D
analogous
#0D1F3E #140D3E #2C0D3E
triadic
#140D3E #3E140D #0D3E14
tetradic
#140D3E #3E0D1F #373E0D #0D3E2C
square
#140D3E #3E0D1F #373E0D #0D3E2C
split-complementary
#140D3E #3E2C0D #1F3E0D
monochromatic
#080519 #080519 #140D3E #241871 #3522A3

Accessibility & contrast

On white

18.15
#140D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#140D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140D3E
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D3E#FFFFFF#000000##FFFFFF
##140D3E1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173F
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140d3e;
/* rgb */ color: rgb(20, 13, 62);
/* oklch */ color: oklch(20.7% 0.089 281.9);
Tailwind
colors: {
  custom: {
    50: '#584c74',
    500: '#140d3e',
    950: '#000000',
  },
}
SCSS
$custom: #140d3e;
$custom-light: #584c74;
$custom-dark: #000000;
JSON
{
  "hex": "#140d3e",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 248.571,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2074,
    "c": 0.08865,
    "h": 281.9
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#140D3E
secondary
#6F7A2D
accent
#E840D0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #140D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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