#140B56#140B56

#140B56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.3% C 0.125 H 276.0°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#140B56
RGBrgb(20, 11, 86)
HSLhsl(247, 77%, 19%)
HSVhsv(247, 87%, 34%)
CMYKcmyk(76.7%, 87.2%, 0%, 66.3%)
CIE-LABlab(9.48, 30.19, -42.86)
CIE-LCHlch(9.48, 52.42, 305.16°)
OKLaboklab(23.31% 0.0131 -0.1239)
OKLCHoklch(23.31% 0.125 276)
XYZxyz(2.0873, 1.0598, 8.8968)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B56 #4D560B
analogous
#0B2856 #140B56 #3A0B56
triadic
#140B56 #56140B #0B5614
tetradic
#140B56 #560B28 #4D560B #0B563A
square
#140B56 #560B28 #4D560B #0B563A
split-complementary
#140B56 #563A0B #28560B
monochromatic
#06031B #070420 #140B56 #21128C #2D19C3

Accessibility & contrast

On white

17.33
#140B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#140B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140B56
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B56#FFFFFF#000000##FFFFFF
##140B561.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001755
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #140b56;
/* rgb */ color: rgb(20, 11, 86);
/* oklch */ color: oklch(23.3% 0.125 276.0);
Tailwind
colors: {
  custom: {
    50: '#5e4c87',
    500: '#140b56',
    950: '#000000',
  },
}
SCSS
$custom: #140b56;
$custom-light: #5e4c87;
$custom-dark: #000000;
JSON
{
  "hex": "#140b56",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 247.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23307,
    "c": 0.12457,
    "h": 276
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#140B56
secondary
#85912B
accent
#F434DD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140B56

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

Preview Lab → · Contrast checker → · Palette generator →

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