#140F3E#140F3E

#140F3E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.086 H 280.9°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#140F3E
RGBrgb(20, 15, 62)
HSLhsl(246, 61%, 15%)
HSVhsv(246, 76%, 24%)
CMYKcmyk(67.7%, 75.8%, 0%, 75.7%)
CIE-LABlab(7.57, 18.84, -29.26)
CIE-LCHlch(7.57, 34.80, 302.78°)
OKLaboklab(21.11% 0.0163 -0.0843)
OKLCHoklch(21.11% 0.086 280.9)
XYZxyz(1.3285, 0.8381, 4.6483)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F3E #393E0F
analogous
#0F213E #140F3E #2B0F3E
triadic
#140F3E #3E140F #0F3E14
tetradic
#140F3E #3E0F21 #393E0F #0F3E2B
square
#140F3E #3E0F21 #393E0F #0F3E2B
split-complementary
#140F3E #3E2B0F #213E0F
monochromatic
#080619 #080619 #140F3E #241B6F #3427A1

Accessibility & contrast

On white

17.99
#140F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#140F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F3E
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F3E#FFFFFF#000000##FFFFFF
##140F3E1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140f3e;
/* rgb */ color: rgb(20, 15, 62);
/* oklch */ color: oklch(21.1% 0.086 280.9);
Tailwind
colors: {
  custom: {
    50: '#574d74',
    500: '#140f3e',
    950: '#000000',
  },
}
SCSS
$custom: #140f3e;
$custom-light: #574d74;
$custom-dark: #000000;
JSON
{
  "hex": "#140f3e",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 246.383,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21111,
    "c": 0.08583,
    "h": 280.9
  },
  "luminance": 0.00838
}

Semantic roles & 50–950 ramp

primary
#140F3E
secondary
#717830
accent
#E444D3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #140F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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