#140E5A#140E5A

#140E5A is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.2% C 0.127 H 274.8°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#140E5A
RGBrgb(20, 14, 90)
HSLhsl(245, 73%, 20%)
HSVhsv(245, 84%, 35%)
CMYKcmyk(77.8%, 84.4%, 0%, 64.7%)
CIE-LABlab(10.56, 29.92, -43.78)
CIE-LCHlch(10.56, 53.03, 304.35°)
OKLaboklab(24.21% 0.0106 -0.1266)
OKLCHoklch(24.21% 0.127 274.8)
XYZxyz(2.2904, 1.2008, 9.7819)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E5A #545A0E
analogous
#0E2E5A #140E5A #3A0E5A
triadic
#140E5A #5A140E #0E5A14
tetradic
#140E5A #5A0E2E #545A0E #0E5A3A
square
#140E5A #5A0E2E #545A0E #0E5A3A
split-complementary
#140E5A #5A3A0E #2E5A0E
monochromatic
#06041A #080625 #140E5A #20168F #2C1EC4

Accessibility & contrast

On white

16.93
#140E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E5A
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E5A#FFFFFF#000000##FFFFFF
##140E5A1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205C
Deuteranopia (green-blind)
#001959
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #140e5a;
/* rgb */ color: rgb(20, 14, 90);
/* oklch */ color: oklch(24.2% 0.127 274.8);
Tailwind
colors: {
  custom: {
    50: '#5f4e8a',
    500: '#140e5a',
    950: '#000000',
  },
}
SCSS
$custom: #140e5a;
$custom-light: #5f4e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#140e5a",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 244.737,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2421,
    "c": 0.12704,
    "h": 274.8
  },
  "luminance": 0.01201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #140E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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