#140F47#140F47

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

Color values

HEX#140F47
RGBrgb(20, 15, 71)
HSLhsl(245, 65%, 17%)
HSVhsv(245, 79%, 28%)
CMYKcmyk(71.8%, 78.9%, 0%, 72.2%)
CIE-LABlab(8.53, 22.33, -34.07)
CIE-LCHlch(8.53, 40.73, 303.24°)
OKLaboklab(22.1% 0.0146 -0.0983)
OKLCHoklch(22.1% 0.099 278.5)
XYZxyz(1.5963, 0.9452, 6.0583)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F47 #42470F
analogous
#0F2647 #140F47 #300F47
triadic
#140F47 #47140F #0F4714
tetradic
#140F47 #470F26 #42470F #0F4730
square
#140F47 #470F26 #42470F #0F4730
split-complementary
#140F47 #47300F #26470F
monochromatic
#070519 #070519 #140F47 #221A7A #3024AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##140F47#FFFFFF#000000##FFFFFF
##140F471.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)
#001B49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #140f47;
/* rgb */ color: rgb(20, 15, 71);
/* oklch */ color: oklch(22.1% 0.099 278.5);
Tailwind
colors: {
  custom: {
    50: '#5a4e7b',
    500: '#140f47',
    950: '#000000',
  },
}
SCSS
$custom: #140f47;
$custom-light: #5a4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#140f47",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 245.357,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22099,
    "c": 0.0994,
    "h": 278.5
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#140F47
secondary
#7A8130
accent
#E840D9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140F47

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

Preview Lab → · Contrast checker → · Palette generator →

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