#140C3D#140C3D

#140C3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.089 H 282.7°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#140C3D
RGBrgb(20, 12, 61)
HSLhsl(250, 67%, 14%)
HSVhsv(250, 80%, 24%)
CMYKcmyk(67.2%, 80.3%, 0%, 76.1%)
CIE-LABlab(6.76, 20.29, -29.86)
CIE-LCHlch(6.76, 36.10, 304.19°)
OKLaboklab(20.45% 0.0195 -0.0864)
OKLCHoklch(20.45% 0.089 282.7)
XYZxyz(1.2620, 0.7485, 4.4919)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C3D #353D0C
analogous
#0C1D3D #140C3D #2D0C3D
triadic
#140C3D #3D140C #0C3D14
tetradic
#140C3D #3D0C1D #353D0C #0C3D2D
square
#140C3D #3D0C1D #353D0C #0C3D2D
split-complementary
#140C3D #3D2D0C #1D3D0C
monochromatic
#08051A #08051A #140C3D #251670 #3620A3

Accessibility & contrast

On white

18.26
#140C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140C3D
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140C3D#FFFFFF#000000##FFFFFF
##140C3D1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#011923
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140c3d;
/* rgb */ color: rgb(20, 12, 61);
/* oklch */ color: oklch(20.5% 0.089 282.7);
Tailwind
colors: {
  custom: {
    50: '#574b73',
    500: '#140c3d',
    950: '#000000',
  },
}
SCSS
$custom: #140c3d;
$custom-light: #574b73;
$custom-dark: #000000;
JSON
{
  "hex": "#140c3d",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 61
  },
  "hsl": {
    "h": 249.796,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20452,
    "c": 0.08853,
    "h": 282.7
  },
  "luminance": 0.00749
}

Semantic roles & 50–950 ramp

primary
#140C3D
secondary
#6C792C
accent
#EA3ECE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #140C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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