#140E5D#140E5D

#140E5D is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.131 H 274.3°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#140E5D
RGBrgb(20, 14, 93)
HSLhsl(245, 74%, 21%)
HSVhsv(245, 85%, 36%)
CMYKcmyk(78.5%, 84.9%, 0%, 63.5%)
CIE-LABlab(10.94, 30.98, -45.17)
CIE-LCHlch(10.94, 54.77, 304.44°)
OKLaboklab(24.59% 0.0097 -0.1306)
OKLCHoklch(24.59% 0.131 274.3)
XYZxyz(2.4207, 1.2529, 10.4681)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E5D #575D0E
analogous
#0E2F5D #140E5D #3B0E5D
triadic
#140E5D #5D140E #0E5D14
tetradic
#140E5D #5D0E2F #575D0E #0E5D3B
square
#140E5D #5D0E2F #575D0E #0E5D3B
split-complementary
#140E5D #5D3B0E #2F5D0E
monochromatic
#06041B #090628 #140E5D #1F1692 #2B1EC7

Accessibility & contrast

On white

16.79
#140E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#140E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E5D
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E5D#FFFFFF#000000##FFFFFF
##140E5D1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215F
Deuteranopia (green-blind)
#001A5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #140e5d;
/* rgb */ color: rgb(20, 14, 93);
/* oklch */ color: oklch(24.6% 0.131 274.3);
Tailwind
colors: {
  custom: {
    50: '#604f8c',
    500: '#140e5d',
    950: '#000000',
  },
}
SCSS
$custom: #140e5d;
$custom-light: #604f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#140e5d",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 244.557,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24586,
    "c": 0.13101,
    "h": 274.3
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#140E5D
secondary
#8F9730
accent
#F037E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #140E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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