#140F3D#140F3D

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

Color values

HEX#140F3D
RGBrgb(20, 15, 61)
HSLhsl(247, 61%, 15%)
HSVhsv(247, 75%, 24%)
CMYKcmyk(67.2%, 75.4%, 0%, 76.1%)
CIE-LABlab(7.47, 18.44, -28.71)
CIE-LCHlch(7.47, 34.12, 302.72°)
OKLaboklab(21.01% 0.0164 -0.0827)
OKLCHoklch(21.01% 0.084 281.2)
XYZxyz(1.3014, 0.8272, 4.5051)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F3D #383D0F
analogous
#0F213D #140F3D #2B0F3D
triadic
#140F3D #3D140F #0F3D14
tetradic
#140F3D #3D0F21 #383D0F #0F3D2B
square
#140F3D #3D0F21 #383D0F #0F3D2B
split-complementary
#140F3D #3D2B0F #213D0F
monochromatic
#080619 #080619 #140F3D #241B6E #34279F

Accessibility & contrast

On white

18.02
#140F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F3D
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F3D#FFFFFF#000000##FFFFFF
##140F3D1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140f3d;
/* rgb */ color: rgb(20, 15, 61);
/* oklch */ color: oklch(21.0% 0.084 281.2);
Tailwind
colors: {
  custom: {
    50: '#574d73',
    500: '#140f3d',
    950: '#000000',
  },
}
SCSS
$custom: #140f3d;
$custom-light: #574d73;
$custom-dark: #000000;
JSON
{
  "hex": "#140f3d",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 246.522,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21005,
    "c": 0.08428,
    "h": 281.2
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#140F3D
secondary
#707730
accent
#E444D2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #140F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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