#140E5F#140E5F

#140E5F is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.134 H 273.9°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#140E5F
RGBrgb(20, 14, 95)
HSLhsl(244, 74%, 21%)
HSVhsv(244, 85%, 37%)
CMYKcmyk(78.9%, 85.3%, 0%, 62.7%)
CIE-LABlab(11.20, 31.68, -46.09)
CIE-LCHlch(11.20, 55.92, 304.50°)
OKLaboklab(24.84% 0.0092 -0.1333)
OKLCHoklch(24.84% 0.134 273.9)
XYZxyz(2.5104, 1.2888, 10.9407)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E5F #595F0E
analogous
#0E315F #140E5F #3D0E5F
triadic
#140E5F #5F140E #0E5F14
tetradic
#140E5F #5F0E31 #595F0E #0E5F3D
square
#140E5F #5F0E31 #595F0E #0E5F3D
split-complementary
#140E5F #5F3D0E #315F0E
monochromatic
#06041B #09062A #140E5F #1F1694 #2A1ECA

Accessibility & contrast

On white

16.70
#140E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#140E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E5F
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E5F#FFFFFF#000000##FFFFFF
##140E5F1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001A5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #140e5f;
/* rgb */ color: rgb(20, 14, 95);
/* oklch */ color: oklch(24.8% 0.134 273.9);
Tailwind
colors: {
  custom: {
    50: '#614f8d',
    500: '#140e5f',
    950: '#000000',
  },
}
SCSS
$custom: #140e5f;
$custom-light: #614f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#140e5f",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 244.444,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24838,
    "c": 0.13364,
    "h": 273.9
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#140E5F
secondary
#919930
accent
#F137E3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #140E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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