#140D43#140D43

#140D43 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.3% C 0.096 H 280.3°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#140D43
RGBrgb(20, 13, 67)
HSLhsl(248, 68%, 16%)
HSVhsv(248, 81%, 26%)
CMYKcmyk(70.1%, 80.6%, 0%, 73.7%)
CIE-LABlab(7.60, 22.13, -32.77)
CIE-LCHlch(7.60, 39.54, 304.04°)
OKLaboklab(21.3% 0.0172 -0.0945)
OKLCHoklch(21.3% 0.096 280.3)
XYZxyz(1.4452, 0.8417, 5.3954)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D43 #3C430D
analogous
#0D2143 #140D43 #2F0D43
triadic
#140D43 #43140D #0D4314
tetradic
#140D43 #430D21 #3C430D #0D432F
square
#140D43 #430D21 #3C430D #0D432F
split-complementary
#140D43 #432F0D #21430D
monochromatic
#08051A #08051A #140D43 #231776 #3321AA

Accessibility & contrast

On white

17.97
#140D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D43
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D43#FFFFFF#000000##FFFFFF
##140D431.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#001C27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #140d43;
/* rgb */ color: rgb(20, 13, 67);
/* oklch */ color: oklch(21.3% 0.096 280.3);
Tailwind
colors: {
  custom: {
    50: '#594c78',
    500: '#140d43',
    950: '#000000',
  },
}
SCSS
$custom: #140d43;
$custom-light: #594c78;
$custom-dark: #000000;
JSON
{
  "hex": "#140d43",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 247.778,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.213,
    "c": 0.09609,
    "h": 280.3
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#140D43
secondary
#747E2D
accent
#EA3DD4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140D43

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

Preview Lab → · Contrast checker → · Palette generator →

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