#140D5D#140D5D

#140D5D is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.5% C 0.132 H 274.4°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#140D5D
RGBrgb(20, 13, 93)
HSLhsl(245, 75%, 21%)
HSVhsv(245, 86%, 36%)
CMYKcmyk(78.5%, 86%, 0%, 63.5%)
CIE-LABlab(10.75, 31.53, -45.48)
CIE-LCHlch(10.75, 55.34, 304.73°)
OKLaboklab(24.45% 0.0102 -0.1315)
OKLCHoklch(24.45% 0.132 274.4)
XYZxyz(2.4075, 1.2266, 10.4637)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D5D #565D0D
analogous
#0D2E5D #140D5D #3C0D5D
triadic
#140D5D #5D140D #0D5D14
tetradic
#140D5D #5D0D2E #565D0D #0D5D3C
square
#140D5D #5D0D2E #565D0D #0D5D3C
split-complementary
#140D5D #5D3C0D #2E5D0D
monochromatic
#06041B #080527 #140D5D #201593 #2B1CC8

Accessibility & contrast

On white

16.86
#140D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D5D
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D5D#FFFFFF#000000##FFFFFF
##140D5D1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215F
Deuteranopia (green-blind)
#00195C
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #140d5d;
/* rgb */ color: rgb(20, 13, 93);
/* oklch */ color: oklch(24.5% 0.132 274.4);
Tailwind
colors: {
  custom: {
    50: '#604e8c',
    500: '#140d5d',
    950: '#000000',
  },
}
SCSS
$custom: #140d5d;
$custom-light: #604e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#140d5d",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 245.25,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24454,
    "c": 0.13193,
    "h": 274.4
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#140D5D
secondary
#8E972F
accent
#F236E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #140D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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