#140C49#140C49

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

Color values

HEX#140C49
RGBrgb(20, 12, 73)
HSLhsl(248, 72%, 17%)
HSVhsv(248, 84%, 29%)
CMYKcmyk(72.6%, 83.6%, 0%, 71.4%)
CIE-LABlab(8.06, 25.02, -36.23)
CIE-LCHlch(8.06, 44.03, 304.62°)
OKLaboklab(21.84% 0.0164 -0.1046)
OKLCHoklch(21.84% 0.106 278.9)
XYZxyz(1.6222, 0.8926, 6.3888)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C49 #41490C
analogous
#0C2349 #140C49 #330C49
triadic
#140C49 #49140C #0C4914
tetradic
#140C49 #490C23 #41490C #0C4933
square
#140C49 #490C23 #41490C #0C4933
split-complementary
#140C49 #49330C #23490C
monochromatic
#07041A #07041A #140C49 #22157E #311DB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##140C49#FFFFFF#000000##FFFFFF
##140C491.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)
#001A4B
Deuteranopia (green-blind)
#001548
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140c49;
/* rgb */ color: rgb(20, 12, 73);
/* oklch */ color: oklch(21.8% 0.106 278.9);
Tailwind
colors: {
  custom: {
    50: '#5b4c7c',
    500: '#140c49',
    950: '#000000',
  },
}
SCSS
$custom: #140c49;
$custom-light: #5b4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#140c49",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 247.869,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21839,
    "c": 0.10589,
    "h": 278.9
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#140C49
secondary
#79852C
accent
#EE39D7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #140C49

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

Preview Lab → · Contrast checker → · Palette generator →

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