#140F2E#140F2E

#140F2E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.5% C 0.060 H 286.9°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#140F2E
RGBrgb(20, 15, 46)
HSLhsl(250, 51%, 12%)
HSVhsv(250, 67%, 18%)
CMYKcmyk(56.5%, 67.4%, 0%, 82%)
CIE-LABlab(6.21, 12.05, -19.79)
CIE-LCHlch(6.21, 23.17, 301.35°)
OKLaboklab(19.54% 0.0174 -0.0572)
OKLCHoklch(19.54% 0.06 286.9)
XYZxyz(0.9523, 0.6876, 2.6668)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F2E #292E0F
analogous
#0F1A2E #140F2E #240F2E
triadic
#140F2E #2E140F #0F2E14
tetradic
#140F2E #2E0F1A #292E0F #0F2E24
square
#140F2E #2E0F1A #292E0F #0F2E24
split-complementary
#140F2E #2E240F #1A2E0F
monochromatic
#0A0817 #0A0817 #140F2E #281E5C #3C2D8A

Accessibility & contrast

On white

18.46
#140F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#140F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F2E
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F2E#FFFFFF#000000##FFFFFF
##140F2E1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#01132D
Tritanopia (blue-blind)
#0C161C
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #140f2e;
/* rgb */ color: rgb(20, 15, 46);
/* oklch */ color: oklch(19.5% 0.060 286.9);
Tailwind
colors: {
  custom: {
    50: '#534d67',
    500: '#140f2e',
    950: '#000000',
  },
}
SCSS
$custom: #140f2e;
$custom-light: #534d67;
$custom-dark: #000000;
JSON
{
  "hex": "#140f2e",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 249.677,
    "s": 50.82,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19538,
    "c": 0.05975,
    "h": 286.9
  },
  "luminance": 0.00688
}

Semantic roles & 50–950 ramp

primary
#140F2E
secondary
#5F6831
accent
#DA4DC4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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