#140D56#140D56

#140D56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.6% C 0.123 H 275.7°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#140D56
RGBrgb(20, 13, 86)
HSLhsl(246, 74%, 19%)
HSVhsv(246, 85%, 34%)
CMYKcmyk(76.7%, 84.9%, 0%, 66.3%)
CIE-LABlab(9.86, 29.08, -42.22)
CIE-LCHlch(9.86, 51.27, 304.56°)
OKLaboklab(23.57% 0.0122 -0.1221)
OKLCHoklch(23.57% 0.123 275.7)
XYZxyz(2.1116, 1.1083, 8.9049)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D56 #4F560D
analogous
#0D2B56 #140D56 #390D56
triadic
#140D56 #56140D #0D5614
tetradic
#140D56 #560D2B #4F560D #0D5639
square
#140D56 #560D2B #4F560D #0D5639
split-complementary
#140D56 #56390D #2B560D
monochromatic
#06041B #080521 #140D56 #20158B #2D1DC0

Accessibility & contrast

On white

17.19
#140D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#140D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140D56
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D56#FFFFFF#000000##FFFFFF
##140D561.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001855
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #140d56;
/* rgb */ color: rgb(20, 13, 86);
/* oklch */ color: oklch(23.6% 0.123 275.7);
Tailwind
colors: {
  custom: {
    50: '#5e4d87',
    500: '#140d56',
    950: '#000000',
  },
}
SCSS
$custom: #140d56;
$custom-light: #5e4d87;
$custom-dark: #000000;
JSON
{
  "hex": "#140d56",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 245.753,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23574,
    "c": 0.12267,
    "h": 275.7
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#140D56
secondary
#87912E
accent
#F037DF
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140D56

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

Preview Lab → · Contrast checker → · Palette generator →

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