#140D49#140D49

#140D49 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.105 H 278.6°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#140D49
RGBrgb(20, 13, 73)
HSLhsl(247, 70%, 17%)
HSVhsv(247, 82%, 29%)
CMYKcmyk(72.6%, 82.2%, 0%, 71.4%)
CIE-LABlab(8.28, 24.39, -35.86)
CIE-LCHlch(8.28, 43.37, 304.21°)
OKLaboklab(22% 0.0157 -0.1036)
OKLCHoklch(22% 0.105 278.6)
XYZxyz(1.6346, 0.9175, 6.3930)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D49 #42490D
analogous
#0D2449 #140D49 #320D49
triadic
#140D49 #49140D #0D4914
tetradic
#140D49 #490D24 #42490D #0D4932
square
#140D49 #490D24 #42490D #0D4932
split-complementary
#140D49 #49320D #24490D
monochromatic
#07051A #07051A #140D49 #22167D #3020B1

Accessibility & contrast

On white

17.74
#140D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#140D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140D49
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D49#FFFFFF#000000##FFFFFF
##140D491.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001648
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140d49;
/* rgb */ color: rgb(20, 13, 73);
/* oklch */ color: oklch(22.0% 0.105 278.6);
Tailwind
colors: {
  custom: {
    50: '#5b4c7c',
    500: '#140d49',
    950: '#000000',
  },
}
SCSS
$custom: #140d49;
$custom-light: #5b4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#140d49",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 247,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21996,
    "c": 0.10475,
    "h": 278.6
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#140D49
secondary
#7A842D
accent
#ED3BD8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140D49

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

Preview Lab → · Contrast checker → · Palette generator →

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