#140C43#140C43

#140C43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.097 H 280.7°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#140C43
RGBrgb(20, 12, 67)
HSLhsl(249, 70%, 15%)
HSVhsv(249, 82%, 26%)
CMYKcmyk(70.1%, 82.1%, 0%, 73.7%)
CIE-LABlab(7.38, 22.75, -33.13)
CIE-LCHlch(7.38, 40.19, 304.47°)
OKLaboklab(21.13% 0.018 -0.0957)
OKLCHoklch(21.13% 0.097 280.7)
XYZxyz(1.4328, 0.8168, 5.3913)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C43 #3B430C
analogous
#0C1F43 #140C43 #2F0C43
triadic
#140C43 #43140C #0C4314
tetradic
#140C43 #430C1F #3B430C #0C432F
square
#140C43 #430C1F #3B430C #0C432F
split-complementary
#140C43 #432F0C #1F430C
monochromatic
#08051A #08051A #140C43 #231577 #331FAB

Accessibility & contrast

On white

18.05
#140C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#140C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140C43
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140C43#FFFFFF#000000##FFFFFF
##140C431.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001442
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #140c43;
/* rgb */ color: rgb(20, 12, 67);
/* oklch */ color: oklch(21.1% 0.097 280.7);
Tailwind
colors: {
  custom: {
    50: '#594c78',
    500: '#140c43',
    950: '#000000',
  },
}
SCSS
$custom: #140c43;
$custom-light: #594c78;
$custom-dark: #000000;
JSON
{
  "hex": "#140c43",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 248.727,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21133,
    "c": 0.09734,
    "h": 280.7
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#140C43
secondary
#737F2C
accent
#EC3BD3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140C43

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

Preview Lab → · Contrast checker → · Palette generator →

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