#140C44#140C44

#140C44 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.2% C 0.099 H 280.4°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#140C44
RGBrgb(20, 12, 68)
HSLhsl(249, 70%, 16%)
HSVhsv(249, 82%, 27%)
CMYKcmyk(70.6%, 82.4%, 0%, 73.3%)
CIE-LABlab(7.49, 23.14, -33.66)
CIE-LCHlch(7.49, 40.85, 304.50°)
OKLaboklab(21.25% 0.0178 -0.0972)
OKLCHoklch(21.25% 0.099 280.4)
XYZxyz(1.4630, 0.8289, 5.5506)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C44 #3C440C
analogous
#0C2044 #140C44 #300C44
triadic
#140C44 #44140C #0C4414
tetradic
#140C44 #440C20 #3C440C #0C4430
square
#140C44 #440C20 #3C440C #0C4430
split-complementary
#140C44 #44300C #20440C
monochromatic
#08051A #08051A #140C44 #231578 #331EAC

Accessibility & contrast

On white

18.01
#140C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140C44
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140C44#FFFFFF#000000##FFFFFF
##140C441.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001443
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140c44;
/* rgb */ color: rgb(20, 12, 68);
/* oklch */ color: oklch(21.2% 0.099 280.4);
Tailwind
colors: {
  custom: {
    50: '#594c79',
    500: '#140c44',
    950: '#000000',
  },
}
SCSS
$custom: #140c44;
$custom-light: #594c79;
$custom-dark: #000000;
JSON
{
  "hex": "#140c44",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 248.571,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21249,
    "c": 0.09879,
    "h": 280.4
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#140C44
secondary
#74802C
accent
#ED3BD3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140C44

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

Preview Lab → · Contrast checker → · Palette generator →

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