#140E47#140E47

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

Color values

HEX#140E47
RGBrgb(20, 14, 71)
HSLhsl(246, 67%, 17%)
HSVhsv(246, 80%, 28%)
CMYKcmyk(71.8%, 80.3%, 0%, 72.2%)
CIE-LABlab(8.29, 23.00, -34.46)
CIE-LCHlch(8.29, 41.43, 303.72°)
OKLaboklab(21.93% 0.0154 -0.0995)
OKLCHoklch(21.93% 0.101 278.8)
XYZxyz(1.5825, 0.9176, 6.0537)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E47 #41470E
analogous
#0E2547 #140E47 #310E47
triadic
#140E47 #47140E #0E4714
tetradic
#140E47 #470E25 #41470E #0E4731
square
#140E47 #470E25 #41470E #0E4731
split-complementary
#140E47 #47310E #25470E
monochromatic
#07051A #07051A #140E47 #22187A #3122AD

Accessibility & contrast

On white

17.74
#140E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E47
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E47#FFFFFF#000000##FFFFFF
##140E471.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140e47;
/* rgb */ color: rgb(20, 14, 71);
/* oklch */ color: oklch(21.9% 0.101 278.8);
Tailwind
colors: {
  custom: {
    50: '#5a4d7b',
    500: '#140e47',
    950: '#000000',
  },
}
SCSS
$custom: #140e47;
$custom-light: #5a4d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#140e47",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 246.316,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21927,
    "c": 0.10066,
    "h": 278.8
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#140E47
secondary
#79822F
accent
#EA3ED8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140E47

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

Preview Lab → · Contrast checker → · Palette generator →

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