#140E39#140E39

#140E39 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.080 H 283.1°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#140E39
RGBrgb(20, 14, 57)
HSLhsl(248, 61%, 14%)
HSVhsv(248, 75%, 22%)
CMYKcmyk(64.9%, 75.4%, 0%, 77.6%)
CIE-LABlab(6.85, 17.42, -26.84)
CIE-LCHlch(6.85, 31.99, 302.98°)
OKLaboklab(20.39% 0.0181 -0.0774)
OKLCHoklch(20.39% 0.08 283.1)
XYZxyz(1.1838, 0.7581, 3.9541)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E39 #33390E
analogous
#0E1E39 #140E39 #2A0E39
triadic
#140E39 #39140E #0E3914
tetradic
#140E39 #390E1E #33390E #0E392A
square
#140E39 #390E1E #33390E #0E392A
split-complementary
#140E39 #392A0E #1E390E
monochromatic
#090619 #090619 #140E39 #251A6A #36269B

Accessibility & contrast

On white

18.24
#140E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E39
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E39#FFFFFF#000000##FFFFFF
##140E391.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#041921
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140e39;
/* rgb */ color: rgb(20, 14, 57);
/* oklch */ color: oklch(20.4% 0.080 283.1);
Tailwind
colors: {
  custom: {
    50: '#564d70',
    500: '#140e39',
    950: '#000000',
  },
}
SCSS
$custom: #140e39;
$custom-light: #564d70;
$custom-dark: #000000;
JSON
{
  "hex": "#140e39",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 57
  },
  "hsl": {
    "h": 248.372,
    "s": 60.563,
    "l": 13.922
  },
  "oklch": {
    "l": 0.20393,
    "c": 0.07951,
    "h": 283.1
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#140E39
secondary
#6A742F
accent
#E444CD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140E39

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

Preview Lab → · Contrast checker → · Palette generator →

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