#140E59#140E59

#140E59 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.126 H 274.9°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#140E59
RGBrgb(20, 14, 89)
HSLhsl(245, 73%, 20%)
HSVhsv(245, 84%, 35%)
CMYKcmyk(77.5%, 84.3%, 0%, 65.1%)
CIE-LABlab(10.44, 29.57, -43.31)
CIE-LCHlch(10.44, 52.44, 304.33°)
OKLaboklab(24.09% 0.0108 -0.1252)
OKLCHoklch(24.09% 0.126 274.9)
XYZxyz(2.2481, 1.1838, 9.5593)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E59 #53590E
analogous
#0E2D59 #140E59 #390E59
triadic
#140E59 #59140E #0E5914
tetradic
#140E59 #590E2D #53590E #0E5939
square
#140E59 #590E2D #53590E #0E5939
split-complementary
#140E59 #59390E #2D590E
monochromatic
#06041A #080624 #140E59 #20168E #2C1FC3

Accessibility & contrast

On white

16.98
#140E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#140E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E59
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E59#FFFFFF#000000##FFFFFF
##140E591.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205B
Deuteranopia (green-blind)
#001958
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #140e59;
/* rgb */ color: rgb(20, 14, 89);
/* oklch */ color: oklch(24.1% 0.126 274.9);
Tailwind
colors: {
  custom: {
    50: '#5f4e89',
    500: '#140e59',
    950: '#000000',
  },
}
SCSS
$custom: #140e59;
$custom-light: #5f4e89;
$custom-dark: #000000;
JSON
{
  "hex": "#140e59",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 89
  },
  "hsl": {
    "h": 244.8,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24086,
    "c": 0.12571,
    "h": 274.9
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#140E59
secondary
#8B9330
accent
#F038E1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #140E59

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

Preview Lab → · Contrast checker → · Palette generator →

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