#140D47#140D47

#140D47 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.102 H 279.2°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#140D47
RGBrgb(20, 13, 71)
HSLhsl(247, 69%, 16%)
HSVhsv(247, 82%, 28%)
CMYKcmyk(71.8%, 81.7%, 0%, 72.2%)
CIE-LABlab(8.05, 23.65, -34.85)
CIE-LCHlch(8.05, 42.11, 304.16°)
OKLaboklab(21.76% 0.0162 -0.1006)
OKLCHoklch(21.76% 0.102 279.2)
XYZxyz(1.5694, 0.8914, 6.0494)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D47 #40470D
analogous
#0D2347 #140D47 #310D47
triadic
#140D47 #47140D #0D4714
tetradic
#140D47 #470D23 #40470D #0D4731
square
#140D47 #470D23 #40470D #0D4731
split-complementary
#140D47 #47310D #23470D
monochromatic
#07051A #07051A #140D47 #23167B #3120AE

Accessibility & contrast

On white

17.82
#140D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D47
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D47#FFFFFF#000000##FFFFFF
##140D471.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140d47;
/* rgb */ color: rgb(20, 13, 71);
/* oklch */ color: oklch(21.8% 0.102 279.2);
Tailwind
colors: {
  custom: {
    50: '#5a4c7b',
    500: '#140d47',
    950: '#000000',
  },
}
SCSS
$custom: #140d47;
$custom-light: #5a4c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#140d47",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 247.241,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21761,
    "c": 0.10189,
    "h": 279.2
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#140D47
secondary
#78822D
accent
#EC3CD7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140D47

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

Preview Lab → · Contrast checker → · Palette generator →

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