#140A47#140A47

#140A47 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.105 H 280.1°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#140A47
RGBrgb(20, 10, 71)
HSLhsl(250, 75%, 16%)
HSVhsv(250, 86%, 28%)
CMYKcmyk(71.8%, 85.9%, 0%, 72.2%)
CIE-LABlab(7.41, 25.44, -35.90)
CIE-LCHlch(7.41, 44.00, 305.32°)
OKLaboklab(21.3% 0.0184 -0.1037)
OKLCHoklch(21.3% 0.105 280.1)
XYZxyz(1.5340, 0.8206, 6.0376)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A47 #3D470A
analogous
#0A1E47 #140A47 #320A47
triadic
#140A47 #47140A #0A4714
tetradic
#140A47 #470A1E #3D470A #0A4732
square
#140A47 #470A1E #3D470A #0A4732
split-complementary
#140A47 #47320A #1E470A
monochromatic
#08041B #08041B #140A47 #23127D #3219B2

Accessibility & contrast

On white

18.04
#140A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140A47
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A47#FFFFFF#000000##FFFFFF
##140A471.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#001C28
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140a47;
/* rgb */ color: rgb(20, 10, 71);
/* oklch */ color: oklch(21.3% 0.105 280.1);
Tailwind
colors: {
  custom: {
    50: '#5a4b7b',
    500: '#140a47',
    950: '#000000',
  },
}
SCSS
$custom: #140a47;
$custom-light: #5a4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#140a47",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 249.836,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21301,
    "c": 0.10532,
    "h": 280.1
  },
  "luminance": 0.00821
}

Semantic roles & 50–950 ramp

primary
#140A47
secondary
#758429
accent
#F236D3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140A47

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

Preview Lab → · Contrast checker → · Palette generator →

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