#140E36#140E36

#140E36 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.075 H 284.3°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#140E36
RGBrgb(20, 14, 54)
HSLhsl(249, 59%, 13%)
HSVhsv(249, 74%, 21%)
CMYKcmyk(63%, 74.1%, 0%, 78.8%)
CIE-LABlab(6.59, 16.13, -25.08)
CIE-LCHlch(6.59, 29.82, 302.74°)
OKLaboklab(20.09% 0.0184 -0.0724)
OKLCHoklch(20.09% 0.075 284.3)
XYZxyz(1.1112, 0.7291, 3.5715)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E36 #30360E
analogous
#0E1C36 #140E36 #280E36
triadic
#140E36 #36140E #0E3614
tetradic
#140E36 #360E1C #30360E #0E3628
square
#140E36 #360E1C #30360E #0E3628
split-complementary
#140E36 #36280E #1C360E
monochromatic
#090618 #090618 #140E36 #261B67 #382797

Accessibility & contrast

On white

18.33
#140E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E36
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E36#FFFFFF#000000##FFFFFF
##140E361.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140e36;
/* rgb */ color: rgb(20, 14, 54);
/* oklch */ color: oklch(20.1% 0.075 284.3);
Tailwind
colors: {
  custom: {
    50: '#554d6d',
    500: '#140e36',
    950: '#000000',
  },
}
SCSS
$custom: #140e36;
$custom-light: #554d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#140e36",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 249,
    "s": 58.824,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20087,
    "c": 0.07474,
    "h": 284.3
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#140E36
secondary
#67712F
accent
#E246CB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140E36

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

Preview Lab → · Contrast checker → · Palette generator →

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