#140D39#140D39

#140D39 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.081 H 283.7°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#140D39
RGBrgb(20, 13, 57)
HSLhsl(250, 63%, 14%)
HSVhsv(250, 77%, 22%)
CMYKcmyk(64.9%, 77.2%, 0%, 77.6%)
CIE-LABlab(6.61, 18.01, -27.22)
CIE-LCHlch(6.61, 32.64, 303.49°)
OKLaboklab(20.2% 0.0192 -0.0787)
OKLCHoklch(20.2% 0.081 283.7)
XYZxyz(1.1707, 0.7319, 3.9497)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D39 #32390D
analogous
#0D1C39 #140D39 #2A0D39
triadic
#140D39 #39140D #0D3914
tetradic
#140D39 #390D1C #32390D #0D392A
square
#140D39 #390D1C #32390D #0D392A
split-complementary
#140D39 #392A0D #1C390D
monochromatic
#090619 #090619 #140D39 #25186B #37249D

Accessibility & contrast

On white

18.32
#140D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D39
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D39#FFFFFF#000000##FFFFFF
##140D391.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#041821
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140d39;
/* rgb */ color: rgb(20, 13, 57);
/* oklch */ color: oklch(20.2% 0.081 283.7);
Tailwind
colors: {
  custom: {
    50: '#564c70',
    500: '#140d39',
    950: '#000000',
  },
}
SCSS
$custom: #140d39;
$custom-light: #564c70;
$custom-dark: #000000;
JSON
{
  "hex": "#140d39",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 249.545,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20201,
    "c": 0.08101,
    "h": 283.7
  },
  "luminance": 0.00732
}

Semantic roles & 50–950 ramp

primary
#140D39
secondary
#69742D
accent
#E642CC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140D39

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

Preview Lab → · Contrast checker → · Palette generator →

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