#140E3E#140E3E

#140E3E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.087 H 281.4°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#140E3E
RGBrgb(20, 14, 62)
HSLhsl(248, 63%, 15%)
HSVhsv(248, 77%, 24%)
CMYKcmyk(67.7%, 77.4%, 0%, 75.7%)
CIE-LABlab(7.32, 19.50, -29.67)
CIE-LCHlch(7.32, 35.50, 303.32°)
OKLaboklab(20.92% 0.0173 -0.0855)
OKLCHoklch(20.92% 0.087 281.4)
XYZxyz(1.3148, 0.8105, 4.6437)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E3E #383E0E
analogous
#0E203E #140E3E #2C0E3E
triadic
#140E3E #3E140E #0E3E14
tetradic
#140E3E #3E0E20 #383E0E #0E3E2C
square
#140E3E #3E0E20 #383E0E #0E3E2C
split-complementary
#140E3E #3E2C0E #203E0E
monochromatic
#080619 #080619 #140E3E #241970 #3425A2

Accessibility & contrast

On white

18.07
#140E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E3E
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E3E#FFFFFF#000000##FFFFFF
##140E3E1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140e3e;
/* rgb */ color: rgb(20, 14, 62);
/* oklch */ color: oklch(20.9% 0.087 281.4);
Tailwind
colors: {
  custom: {
    50: '#584d74',
    500: '#140e3e',
    950: '#000000',
  },
}
SCSS
$custom: #140e3e;
$custom-light: #584d74;
$custom-dark: #000000;
JSON
{
  "hex": "#140e3e",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 62
  },
  "hsl": {
    "h": 247.5,
    "s": 63.158,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20923,
    "c": 0.08726,
    "h": 281.4
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#140E3E
secondary
#70792F
accent
#E642D2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #140E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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