#140E5B#140E5B

#140E5B is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.3% C 0.128 H 274.6°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#140E5B
RGBrgb(20, 14, 91)
HSLhsl(245, 73%, 21%)
HSVhsv(245, 85%, 36%)
CMYKcmyk(78%, 84.6%, 0%, 64.3%)
CIE-LABlab(10.69, 30.28, -44.24)
CIE-LCHlch(10.69, 53.61, 304.38°)
OKLaboklab(24.34% 0.0103 -0.128)
OKLCHoklch(24.34% 0.128 274.6)
XYZxyz(2.3332, 1.2179, 10.0076)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E5B #555B0E
analogous
#0E2E5B #140E5B #3A0E5B
triadic
#140E5B #5B140E #0E5B14
tetradic
#140E5B #5B0E2E #555B0E #0E5B3A
square
#140E5B #5B0E2E #555B0E #0E5B3A
split-complementary
#140E5B #5B3A0E #2E5B0E
monochromatic
#06041B #080626 #140E5B #201690 #2B1EC5

Accessibility & contrast

On white

16.89
#140E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E5B
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E5B#FFFFFF#000000##FFFFFF
##140E5B1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205D
Deuteranopia (green-blind)
#00195A
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #140e5b;
/* rgb */ color: rgb(20, 14, 91);
/* oklch */ color: oklch(24.3% 0.128 274.6);
Tailwind
colors: {
  custom: {
    50: '#5f4e8a',
    500: '#140e5b',
    950: '#000000',
  },
}
SCSS
$custom: #140e5b;
$custom-light: #5f4e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#140e5b",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 244.675,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24335,
    "c": 0.12837,
    "h": 274.6
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#140E5B
secondary
#8D9530
accent
#F038E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #140E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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