#140B47#140B47

#140B47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.4% C 0.104 H 279.8°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#140B47
RGBrgb(20, 11, 71)
HSLhsl(249, 73%, 16%)
HSVhsv(249, 85%, 28%)
CMYKcmyk(71.8%, 84.5%, 0%, 72.2%)
CIE-LABlab(7.61, 24.88, -35.57)
CIE-LCHlch(7.61, 43.40, 304.97°)
OKLaboklab(21.45% 0.0177 -0.1027)
OKLCHoklch(21.45% 0.104 279.8)
XYZxyz(1.5451, 0.8429, 6.0413)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B47 #3E470B
analogous
#0B2047 #140B47 #320B47
triadic
#140B47 #47140B #0B4714
tetradic
#140B47 #470B20 #3E470B #0B4732
square
#140B47 #470B20 #3E470B #0B4732
split-complementary
#140B47 #47320B #20470B
monochromatic
#07041A #07041A #140B47 #23137C #321BB1

Accessibility & contrast

On white

17.97
#140B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#140B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140B47
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B47#FFFFFF#000000##FFFFFF
##140B471.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #140b47;
/* rgb */ color: rgb(20, 11, 71);
/* oklch */ color: oklch(21.4% 0.104 279.8);
Tailwind
colors: {
  custom: {
    50: '#5a4b7b',
    500: '#140b47',
    950: '#000000',
  },
}
SCSS
$custom: #140b47;
$custom-light: #5a4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#140b47",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 249,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21448,
    "c": 0.10423,
    "h": 279.8
  },
  "luminance": 0.00843
}

Semantic roles & 50–950 ramp

primary
#140B47
secondary
#76832A
accent
#F038D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140B47

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

Preview Lab → · Contrast checker → · Palette generator →

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