#140F5E#140F5E

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

Color values

HEX#140F5E
RGBrgb(20, 15, 94)
HSLhsl(244, 72%, 21%)
HSVhsv(244, 84%, 37%)
CMYKcmyk(78.7%, 84%, 0%, 63.1%)
CIE-LABlab(11.26, 30.76, -45.31)
CIE-LCHlch(11.26, 54.77, 304.18°)
OKLaboklab(24.85% 0.009 -0.1311)
OKLCHoklch(24.85% 0.131 273.9)
XYZxyz(2.4790, 1.2983, 10.7074)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F5E #595E0F
analogous
#0F325E #140F5E #3C0F5E
triadic
#140F5E #5E140F #0F5E14
tetradic
#140F5E #5E0F32 #595E0F #0F5E3C
square
#140F5E #5E0F32 #595E0F #0F5E3C
split-complementary
#140F5E #5E3C0F #325E0F
monochromatic
#06041A #090729 #140F5E #1F1793 #2A20C8

Accessibility & contrast

On white

16.67
#140F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F5E
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F5E#FFFFFF#000000##FFFFFF
##140F5E1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001A5D
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #140f5e;
/* rgb */ color: rgb(20, 15, 94);
/* oklch */ color: oklch(24.8% 0.131 273.9);
Tailwind
colors: {
  custom: {
    50: '#604f8d',
    500: '#140f5e',
    950: '#000000',
  },
}
SCSS
$custom: #140f5e;
$custom-light: #604f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#140f5e",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 243.797,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24847,
    "c": 0.13138,
    "h": 273.9
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#140F5E
secondary
#919731
accent
#EF39E4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #140F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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