#140F39#140F39

#140F39 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.078 H 282.5°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#140F39
RGBrgb(20, 15, 57)
HSLhsl(247, 58%, 14%)
HSVhsv(247, 74%, 22%)
CMYKcmyk(64.9%, 73.7%, 0%, 77.6%)
CIE-LABlab(7.10, 16.79, -26.43)
CIE-LCHlch(7.10, 31.32, 302.43°)
OKLaboklab(20.59% 0.0169 -0.0761)
OKLCHoklch(20.59% 0.078 282.5)
XYZxyz(1.1976, 0.7857, 3.9587)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F39 #34390F
analogous
#0F1F39 #140F39 #290F39
triadic
#140F39 #39140F #0F3914
tetradic
#140F39 #390F1F #34390F #0F3929
square
#140F39 #390F1F #34390F #0F3929
split-complementary
#140F39 #39290F #1F390F
monochromatic
#090618 #090618 #140F39 #251C69 #36299A

Accessibility & contrast

On white

18.15
#140F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F39
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F39#FFFFFF#000000##FFFFFF
##140F391.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140f39;
/* rgb */ color: rgb(20, 15, 57);
/* oklch */ color: oklch(20.6% 0.078 282.5);
Tailwind
colors: {
  custom: {
    50: '#564d70',
    500: '#140f39',
    950: '#000000',
  },
}
SCSS
$custom: #140f39;
$custom-light: #564d70;
$custom-dark: #000000;
JSON
{
  "hex": "#140f39",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 247.143,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20591,
    "c": 0.07797,
    "h": 282.5
  },
  "luminance": 0.00786
}

Semantic roles & 50–950 ramp

primary
#140F39
secondary
#6B7330
accent
#E246CF
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140F39

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

Preview Lab → · Contrast checker → · Palette generator →

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