#140F36#140F36

#140F36 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.073 H 283.6°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#140F36
RGBrgb(20, 15, 54)
HSLhsl(248, 57%, 14%)
HSVhsv(248, 72%, 21%)
CMYKcmyk(63%, 72.2%, 0%, 78.8%)
CIE-LABlab(6.83, 15.52, -24.68)
CIE-LCHlch(6.83, 29.16, 302.17°)
OKLaboklab(20.29% 0.0172 -0.0711)
OKLCHoklch(20.29% 0.073 283.6)
XYZxyz(1.1250, 0.7566, 3.5761)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F36 #31360F
analogous
#0F1D36 #140F36 #270F36
triadic
#140F36 #36140F #0F3614
tetradic
#140F36 #360F1D #31360F #0F3627
square
#140F36 #360F1D #31360F #0F3627
split-complementary
#140F36 #36270F #1D360F
monochromatic
#090718 #090718 #140F36 #261C66 #372A96

Accessibility & contrast

On white

18.24
#140F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F36
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F36#FFFFFF#000000##FFFFFF
##140F361.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#061820
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140f36;
/* rgb */ color: rgb(20, 15, 54);
/* oklch */ color: oklch(20.3% 0.073 283.6);
Tailwind
colors: {
  custom: {
    50: '#554d6d',
    500: '#140f36',
    950: '#000000',
  },
}
SCSS
$custom: #140f36;
$custom-light: #554d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#140f36",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 247.692,
    "s": 56.522,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20291,
    "c": 0.07313,
    "h": 283.6
  },
  "luminance": 0.00757
}

Semantic roles & 50–950 ramp

primary
#140F36
secondary
#687031
accent
#E048CC
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140F36

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

Preview Lab → · Contrast checker → · Palette generator →

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