#140E56#140E56

#140E56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.7% C 0.122 H 275.5°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#140E56
RGBrgb(20, 14, 86)
HSLhsl(245, 72%, 20%)
HSVhsv(245, 84%, 34%)
CMYKcmyk(76.7%, 83.7%, 0%, 66.3%)
CIE-LABlab(10.07, 28.50, -41.89)
CIE-LCHlch(10.07, 50.66, 304.23°)
OKLaboklab(23.72% 0.0117 -0.1211)
OKLCHoklch(23.72% 0.122 275.5)
XYZxyz(2.1247, 1.1345, 8.9093)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E56 #50560E
analogous
#0E2C56 #140E56 #380E56
triadic
#140E56 #56140E #0E5614
tetradic
#140E56 #560E2C #50560E #0E5638
square
#140E56 #560E2C #50560E #0E5638
split-complementary
#140E56 #56380E #2C560E
monochromatic
#06041A #080521 #140E56 #20178B #2C1FBF

Accessibility & contrast

On white

17.11
#140E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#140E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E56
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E56#FFFFFF#000000##FFFFFF
##140E561.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001855
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #140e56;
/* rgb */ color: rgb(20, 14, 86);
/* oklch */ color: oklch(23.7% 0.122 275.5);
Tailwind
colors: {
  custom: {
    50: '#5e4e87',
    500: '#140e56',
    950: '#000000',
  },
}
SCSS
$custom: #140e56;
$custom-light: #5e4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#140e56",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 245,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23715,
    "c": 0.12167,
    "h": 275.5
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#140E56
secondary
#889030
accent
#EF39E0
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140E56

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

Preview Lab → · Contrast checker → · Palette generator →

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