#140E49#140E49

#140E49 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.2% C 0.104 H 278.3°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#140E49
RGBrgb(20, 14, 73)
HSLhsl(246, 68%, 17%)
HSVhsv(246, 81%, 29%)
CMYKcmyk(72.6%, 80.8%, 0%, 71.4%)
CIE-LABlab(8.51, 23.74, -35.49)
CIE-LCHlch(8.51, 42.70, 303.79°)
OKLaboklab(22.16% 0.015 -0.1025)
OKLCHoklch(22.16% 0.104 278.3)
XYZxyz(1.6477, 0.9437, 6.3974)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E49 #43490E
analogous
#0E2649 #140E49 #320E49
triadic
#140E49 #49140E #0E4914
tetradic
#140E49 #490E26 #43490E #0E4932
square
#140E49 #490E26 #43490E #0E4932
split-complementary
#140E49 #49320E #26490E
monochromatic
#07051A #07051A #140E49 #22187C #3022B0

Accessibility & contrast

On white

17.66
#140E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#140E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E49
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E49#FFFFFF#000000##FFFFFF
##140E491.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001648
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #140e49;
/* rgb */ color: rgb(20, 14, 73);
/* oklch */ color: oklch(22.2% 0.104 278.3);
Tailwind
colors: {
  custom: {
    50: '#5a4d7c',
    500: '#140e49',
    950: '#000000',
  },
}
SCSS
$custom: #140e49;
$custom-light: #5a4d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#140e49",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 246.102,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22158,
    "c": 0.10355,
    "h": 278.3
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#140E49
secondary
#7B842F
accent
#EB3DD9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140E49

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

Preview Lab → · Contrast checker → · Palette generator →

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