#140A4A#140A4A

#140A4A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.109 H 279.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#140A4A
RGBrgb(20, 10, 74)
HSLhsl(249, 76%, 16%)
HSVhsv(249, 86%, 29%)
CMYKcmyk(73%, 86.5%, 0%, 71%)
CIE-LABlab(7.77, 26.56, -37.41)
CIE-LCHlch(7.77, 45.88, 305.37°)
OKLaboklab(21.67% 0.0175 -0.108)
OKLCHoklch(21.67% 0.109 279.2)
XYZxyz(1.6327, 0.8601, 6.5572)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A4A #404A0A
analogous
#0A204A #140A4A #340A4A
triadic
#140A4A #4A140A #0A4A14
tetradic
#140A4A #4A0A20 #404A0A #0A4A34
square
#140A4A #4A0A20 #404A0A #0A4A34
split-complementary
#140A4A #4A340A #204A0A
monochromatic
#07041B #07041B #140A4A #231180 #3119B6

Accessibility & contrast

On white

17.92
#140A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140A4A
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A4A#FFFFFF#000000##FFFFFF
##140A4A1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#001D2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #140a4a;
/* rgb */ color: rgb(20, 10, 74);
/* oklch */ color: oklch(21.7% 0.109 279.2);
Tailwind
colors: {
  custom: {
    50: '#5b4b7d',
    500: '#140a4a',
    950: '#000000',
  },
}
SCSS
$custom: #140a4a;
$custom-light: #5b4b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#140a4a",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 249.375,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.21668,
    "c": 0.10945,
    "h": 279.2
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#140A4A
secondary
#788729
accent
#F335D5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #140A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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