#140F46#140F46

#140F46 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.098 H 278.7°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#140F46
RGBrgb(20, 15, 70)
HSLhsl(245, 65%, 17%)
HSVhsv(245, 79%, 27%)
CMYKcmyk(71.4%, 78.6%, 0%, 72.5%)
CIE-LABlab(8.42, 21.95, -33.55)
CIE-LCHlch(8.42, 40.09, 303.20°)
OKLaboklab(21.99% 0.0148 -0.0968)
OKLCHoklch(21.99% 0.098 278.7)
XYZxyz(1.5645, 0.9324, 5.8907)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F46 #41460F
analogous
#0F2646 #140F46 #300F46
triadic
#140F46 #46140F #0F4614
tetradic
#140F46 #460F26 #41460F #0F4630
square
#140F46 #460F26 #41460F #0F4630
split-complementary
#140F46 #46300F #26460F
monochromatic
#070519 #070519 #140F46 #221A78 #3125AB

Accessibility & contrast

On white

17.70
#140F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F46
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F46#FFFFFF#000000##FFFFFF
##140F461.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140f46;
/* rgb */ color: rgb(20, 15, 70);
/* oklch */ color: oklch(22.0% 0.098 278.7);
Tailwind
colors: {
  custom: {
    50: '#5a4e7a',
    500: '#140f46',
    950: '#000000',
  },
}
SCSS
$custom: #140f46;
$custom-light: #5a4e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#140f46",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 245.455,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21986,
    "c": 0.09793,
    "h": 278.7
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#140F46
secondary
#798030
accent
#E840D8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140F46

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

Preview Lab → · Contrast checker → · Palette generator →

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