#140B43#140B43

#140B43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.099 H 281.0°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#140B43
RGBrgb(20, 11, 67)
HSLhsl(250, 72%, 15%)
HSVhsv(250, 84%, 26%)
CMYKcmyk(70.1%, 83.6%, 0%, 73.7%)
CIE-LABlab(7.16, 23.33, -33.48)
CIE-LCHlch(7.16, 40.81, 304.86°)
OKLaboklab(20.97% 0.0189 -0.0967)
OKLCHoklch(20.97% 0.099 281)
XYZxyz(1.4210, 0.7932, 5.3873)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B43 #3A430B
analogous
#0B1E43 #140B43 #300B43
triadic
#140B43 #43140B #0B4314
tetradic
#140B43 #430B1E #3A430B #0B4330
square
#140B43 #430B1E #3A430B #0B4330
split-complementary
#140B43 #43300B #1E430B
monochromatic
#08041A #08041A #140B43 #241478 #331CAC

Accessibility & contrast

On white

18.13
#140B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B43
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B43#FFFFFF#000000##FFFFFF
##140B431.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001442
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140b43;
/* rgb */ color: rgb(20, 11, 67);
/* oklch */ color: oklch(21.0% 0.099 281.0);
Tailwind
colors: {
  custom: {
    50: '#594b78',
    500: '#140b43',
    950: '#000000',
  },
}
SCSS
$custom: #140b43;
$custom-light: #594b78;
$custom-dark: #000000;
JSON
{
  "hex": "#140b43",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 249.643,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20972,
    "c": 0.09856,
    "h": 281
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#140B43
secondary
#72802A
accent
#EF39D1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140B43

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

Preview Lab → · Contrast checker → · Palette generator →

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