#140B4B#140B4B

#140B4B is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.110 H 278.7°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#140B4B
RGBrgb(20, 11, 75)
HSLhsl(248, 74%, 17%)
HSVhsv(248, 85%, 29%)
CMYKcmyk(73.3%, 85.3%, 0%, 70.6%)
CIE-LABlab(8.09, 26.34, -37.58)
CIE-LCHlch(8.09, 45.89, 305.03°)
OKLaboklab(21.93% 0.0165 -0.1085)
OKLCHoklch(21.93% 0.11 278.7)
XYZxyz(1.6778, 0.8959, 6.7398)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B4B #424B0B
analogous
#0B224B #140B4B #340B4B
triadic
#140B4B #4B140B #0B4B14
tetradic
#140B4B #4B0B22 #424B0B #0B4B34
square
#140B4B #4B0B22 #424B0B #0B4B34
split-complementary
#140B4B #4B340B #224B0B
monochromatic
#07041B #07041B #140B4B #221380 #301BB6

Accessibility & contrast

On white

17.81
#140B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B4B
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B4B#FFFFFF#000000##FFFFFF
##140B4B1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4D
Deuteranopia (green-blind)
#00154A
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140b4b;
/* rgb */ color: rgb(20, 11, 75);
/* oklch */ color: oklch(21.9% 0.110 278.7);
Tailwind
colors: {
  custom: {
    50: '#5b4b7e',
    500: '#140b4b',
    950: '#000000',
  },
}
SCSS
$custom: #140b4b;
$custom-light: #5b4b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#140b4b",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 248.438,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21933,
    "c": 0.10978,
    "h": 278.7
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#140B4B
secondary
#7A872B
accent
#F137D7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #140B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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