#140F3A#140F3A

#140F3A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.080 H 282.2°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#140F3A
RGBrgb(20, 15, 58)
HSLhsl(247, 59%, 14%)
HSVhsv(247, 74%, 23%)
CMYKcmyk(65.5%, 74.1%, 0%, 77.3%)
CIE-LABlab(7.19, 17.21, -27.01)
CIE-LCHlch(7.19, 32.02, 302.50°)
OKLaboklab(20.69% 0.0168 -0.0778)
OKLCHoklch(20.69% 0.08 282.2)
XYZxyz(1.2228, 0.7958, 4.0913)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F3A #353A0F
analogous
#0F203A #140F3A #2A0F3A
triadic
#140F3A #3A140F #0F3A14
tetradic
#140F3A #3A0F20 #353A0F #0F3A2A
square
#140F3A #3A0F20 #353A0F #0F3A2A
split-complementary
#140F3A #3A2A0F #203A0F
monochromatic
#080618 #080618 #140F3A #251C6B #36289B

Accessibility & contrast

On white

18.12
#140F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F3A
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F3A#FFFFFF#000000##FFFFFF
##140F3A1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#031A22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140f3a;
/* rgb */ color: rgb(20, 15, 58);
/* oklch */ color: oklch(20.7% 0.080 282.2);
Tailwind
colors: {
  custom: {
    50: '#564d71',
    500: '#140f3a',
    950: '#000000',
  },
}
SCSS
$custom: #140f3a;
$custom-light: #564d71;
$custom-dark: #000000;
JSON
{
  "hex": "#140f3a",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 246.977,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20693,
    "c": 0.07957,
    "h": 282.2
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#140F3A
secondary
#6C7430
accent
#E246D0
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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