#140D59#140D59

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

Color values

HEX#140D59
RGBrgb(20, 13, 89)
HSLhsl(246, 75%, 20%)
HSVhsv(246, 85%, 35%)
CMYKcmyk(77.5%, 85.4%, 0%, 65.1%)
CIE-LABlab(10.24, 30.14, -43.63)
CIE-LCHlch(10.24, 53.03, 304.63°)
OKLaboklab(23.95% 0.0113 -0.1262)
OKLCHoklch(23.95% 0.127 275.1)
XYZxyz(2.2350, 1.1576, 9.5549)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D59 #52590D
analogous
#0D2C59 #140D59 #3A0D59
triadic
#140D59 #59140D #0D5914
tetradic
#140D59 #590D2C #52590D #0D593A
square
#140D59 #590D2C #52590D #0D593A
split-complementary
#140D59 #593A0D #2C590D
monochromatic
#06041B #080524 #140D59 #20158E #2C1DC4

Accessibility & contrast

On white

17.05
#140D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#140D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140D59
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D59#FFFFFF#000000##FFFFFF
##140D591.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F5B
Deuteranopia (green-blind)
#001858
Tritanopia (blue-blind)
#002433
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #140d59;
/* rgb */ color: rgb(20, 13, 89);
/* oklch */ color: oklch(23.9% 0.127 275.1);
Tailwind
colors: {
  custom: {
    50: '#5f4e89',
    500: '#140d59',
    950: '#000000',
  },
}
SCSS
$custom: #140d59;
$custom-light: #5f4e89;
$custom-dark: #000000;
JSON
{
  "hex": "#140d59",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 89
  },
  "hsl": {
    "h": 245.526,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.23949,
    "c": 0.12668,
    "h": 275.1
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#140D59
secondary
#8A932E
accent
#F137E0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010C
muted
#79777D

Preview Lab

Preview with #140D59

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

Preview Lab → · Contrast checker → · Palette generator →

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