#140F44#140F44

#140F44 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.8% C 0.095 H 279.2°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#140F44
RGBrgb(20, 15, 68)
HSLhsl(246, 64%, 16%)
HSVhsv(246, 78%, 27%)
CMYKcmyk(70.6%, 77.9%, 0%, 73.3%)
CIE-LABlab(8.20, 21.19, -32.50)
CIE-LCHlch(8.20, 38.79, 303.10°)
OKLaboklab(21.76% 0.0152 -0.0937)
OKLCHoklch(21.76% 0.095 279.2)
XYZxyz(1.5024, 0.9076, 5.5637)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F44 #3F440F
analogous
#0F2544 #140F44 #2F0F44
triadic
#140F44 #44140F #0F4414
tetradic
#140F44 #440F25 #3F440F #0F442F
square
#140F44 #440F25 #3F440F #0F442F
split-complementary
#140F44 #442F0F #25440F
monochromatic
#070619 #070619 #140F44 #231A76 #3125A8

Accessibility & contrast

On white

17.77
#140F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#140F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F44
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F44#FFFFFF#000000##FFFFFF
##140F441.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001643
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140f44;
/* rgb */ color: rgb(20, 15, 68);
/* oklch */ color: oklch(21.8% 0.095 279.2);
Tailwind
colors: {
  custom: {
    50: '#594e78',
    500: '#140f44',
    950: '#000000',
  },
}
SCSS
$custom: #140f44;
$custom-light: #594e78;
$custom-dark: #000000;
JSON
{
  "hex": "#140f44",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 245.66,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21763,
    "c": 0.09496,
    "h": 279.2
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#140F44
secondary
#777E30
accent
#E741D7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140F44

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

Preview Lab → · Contrast checker → · Palette generator →

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