#140E41#140E41

#140E41 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.092 H 280.5°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#140E41
RGBrgb(20, 14, 65)
HSLhsl(247, 65%, 15%)
HSVhsv(247, 78%, 25%)
CMYKcmyk(69.2%, 78.5%, 0%, 74.5%)
CIE-LABlab(7.63, 20.71, -31.31)
CIE-LCHlch(7.63, 37.53, 303.48°)
OKLaboklab(21.25% 0.0167 -0.0903)
OKLCHoklch(21.25% 0.092 280.5)
XYZxyz(1.3994, 0.8444, 5.0892)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E41 #3B410E
analogous
#0E2141 #140E41 #2D0E41
triadic
#140E41 #41140E #0E4114
tetradic
#140E41 #410E21 #3B410E #0E412D
square
#140E41 #410E21 #3B410E #0E412D
split-complementary
#140E41 #412D0E #21410E
monochromatic
#080519 #080519 #140E41 #231973 #3324A6

Accessibility & contrast

On white

17.97
#140E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#140E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E41
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E41#FFFFFF#000000##FFFFFF
##140E411.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#001C26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #140e41;
/* rgb */ color: rgb(20, 14, 65);
/* oklch */ color: oklch(21.3% 0.092 280.5);
Tailwind
colors: {
  custom: {
    50: '#584d76',
    500: '#140e41',
    950: '#000000',
  },
}
SCSS
$custom: #140e41;
$custom-light: #584d76;
$custom-dark: #000000;
JSON
{
  "hex": "#140e41",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 247.059,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21251,
    "c": 0.09181,
    "h": 280.5
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#140E41
secondary
#737C2F
accent
#E840D4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #140E41

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

Preview Lab → · Contrast checker → · Palette generator →

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