#140E3F#140E3F

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

Color values

HEX#140E3F
RGBrgb(20, 14, 63)
HSLhsl(247, 64%, 15%)
HSVhsv(247, 78%, 25%)
CMYKcmyk(68.3%, 77.8%, 0%, 75.3%)
CIE-LABlab(7.42, 19.91, -30.22)
CIE-LCHlch(7.42, 36.19, 303.38°)
OKLaboklab(21.03% 0.0171 -0.0871)
OKLCHoklch(21.03% 0.089 281.1)
XYZxyz(1.3425, 0.8216, 4.7895)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E3F #393F0E
analogous
#0E203F #140E3F #2C0E3F
triadic
#140E3F #3F140E #0E3F14
tetradic
#140E3F #3F0E20 #393F0E #0E3F2C
square
#140E3F #3F0E20 #393F0E #0E3F2C
split-complementary
#140E3F #3F2C0E #203F0E
monochromatic
#080619 #080619 #140E3F #241971 #3424A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##140E3F#FFFFFF#000000##FFFFFF
##140E3F1.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)
#001840
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140e3f;
/* rgb */ color: rgb(20, 14, 63);
/* oklch */ color: oklch(21.0% 0.089 281.1);
Tailwind
colors: {
  custom: {
    50: '#584d75',
    500: '#140e3f',
    950: '#000000',
  },
}
SCSS
$custom: #140e3f;
$custom-light: #584d75;
$custom-dark: #000000;
JSON
{
  "hex": "#140e3f",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 63
  },
  "hsl": {
    "h": 247.347,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21031,
    "c": 0.08878,
    "h": 281.1
  },
  "luminance": 0.00822
}

Semantic roles & 50–950 ramp

primary
#140E3F
secondary
#717A2F
accent
#E741D2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #140E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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