#140E43#140E43

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

Color values

HEX#140E43
RGBrgb(20, 14, 67)
HSLhsl(247, 65%, 16%)
HSVhsv(247, 79%, 26%)
CMYKcmyk(70.1%, 79.1%, 0%, 73.7%)
CIE-LABlab(7.84, 21.49, -32.38)
CIE-LCHlch(7.84, 38.86, 303.57°)
OKLaboklab(21.47% 0.0163 -0.0934)
OKLCHoklch(21.47% 0.095 279.9)
XYZxyz(1.4583, 0.8679, 5.3998)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E43 #3D430E
analogous
#0E2243 #140E43 #2E0E43
triadic
#140E43 #43140E #0E4314
tetradic
#140E43 #430E22 #3D430E #0E432E
square
#140E43 #430E22 #3D430E #0E432E
split-complementary
#140E43 #432E0E #22430E
monochromatic
#080519 #080519 #140E43 #231976 #3223A8

Accessibility & contrast

On white

17.89
#140E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E43
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E43#FFFFFF#000000##FFFFFF
##140E431.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.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: #140e43;
/* rgb */ color: rgb(20, 14, 67);
/* oklch */ color: oklch(21.5% 0.095 279.9);
Tailwind
colors: {
  custom: {
    50: '#594d78',
    500: '#140e43',
    950: '#000000',
  },
}
SCSS
$custom: #140e43;
$custom-light: #594d78;
$custom-dark: #000000;
JSON
{
  "hex": "#140e43",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 67
  },
  "hsl": {
    "h": 246.792,
    "s": 65.432,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21473,
    "c": 0.09478,
    "h": 279.9
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#140E43
secondary
#757E2F
accent
#E83FD5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140E43

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

Preview Lab → · Contrast checker → · Palette generator →

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