#140B45#140B45

#140B45 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.101 H 280.4°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#140B45
RGBrgb(20, 11, 69)
HSLhsl(249, 73%, 16%)
HSVhsv(249, 84%, 27%)
CMYKcmyk(71%, 84.1%, 0%, 72.9%)
CIE-LABlab(7.39, 24.11, -34.54)
CIE-LCHlch(7.39, 42.12, 304.92°)
OKLaboklab(21.21% 0.0183 -0.0997)
OKLCHoklch(21.21% 0.101 280.4)
XYZxyz(1.4820, 0.8176, 5.7088)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B45 #3C450B
analogous
#0B1F45 #140B45 #310B45
triadic
#140B45 #45140B #0B4514
tetradic
#140B45 #450B1F #3C450B #0B4531
square
#140B45 #450B1F #3C450B #0B4531
split-complementary
#140B45 #45310B #1F450B
monochromatic
#08041A #08041A #140B45 #23137A #331CAF

Accessibility & contrast

On white

18.05
#140B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B45
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B45#FFFFFF#000000##FFFFFF
##140B451.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001847
Deuteranopia (green-blind)
#001444
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140b45;
/* rgb */ color: rgb(20, 11, 69);
/* oklch */ color: oklch(21.2% 0.101 280.4);
Tailwind
colors: {
  custom: {
    50: '#5a4b79',
    500: '#140b45',
    950: '#000000',
  },
}
SCSS
$custom: #140b45;
$custom-light: #5a4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#140b45",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 249.31,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21209,
    "c": 0.1014,
    "h": 280.4
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#140B45
secondary
#74812A
accent
#EF39D3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140B45

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

Preview Lab → · Contrast checker → · Palette generator →

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