#140F59#140F59

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

Color values

HEX#140F59
RGBrgb(20, 15, 89)
HSLhsl(244, 71%, 20%)
HSVhsv(244, 83%, 35%)
CMYKcmyk(77.5%, 83.1%, 0%, 65.1%)
CIE-LABlab(10.64, 28.99, -42.97)
CIE-LCHlch(10.64, 51.83, 304.00°)
OKLaboklab(24.23% 0.0103 -0.1243)
OKLCHoklch(24.23% 0.125 274.8)
XYZxyz(2.2619, 1.2114, 9.5639)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F59 #54590F
analogous
#0F2F59 #140F59 #390F59
triadic
#140F59 #59140F #0F5914
tetradic
#140F59 #590F2F #54590F #0F5939
square
#140F59 #590F2F #54590F #0F5939
split-complementary
#140F59 #59390F #2F590F
monochromatic
#06041A #080625 #140F59 #20188D #2C21C2

Accessibility & contrast

On white

16.90
#140F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F59
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F59#FFFFFF#000000##FFFFFF
##140F591.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205B
Deuteranopia (green-blind)
#001958
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #140f59;
/* rgb */ color: rgb(20, 15, 89);
/* oklch */ color: oklch(24.2% 0.125 274.8);
Tailwind
colors: {
  custom: {
    50: '#5f4f89',
    500: '#140f59',
    950: '#000000',
  },
}
SCSS
$custom: #140f59;
$custom-light: #5f4f89;
$custom-dark: #000000;
JSON
{
  "hex": "#140f59",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 244.054,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24229,
    "c": 0.1247,
    "h": 274.8
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#140F59
secondary
#8C9331
accent
#EE3AE2
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #140F59

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

Preview Lab → · Contrast checker → · Palette generator →

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