#140D48#140D48

#140D48 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.103 H 278.9°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#140D48
RGBrgb(20, 13, 72)
HSLhsl(247, 69%, 17%)
HSVhsv(247, 82%, 28%)
CMYKcmyk(72.2%, 81.9%, 0%, 71.8%)
CIE-LABlab(8.17, 24.02, -35.36)
CIE-LCHlch(8.17, 42.74, 304.19°)
OKLaboklab(21.88% 0.016 -0.1021)
OKLCHoklch(21.88% 0.103 278.9)
XYZxyz(1.6017, 0.9043, 6.2198)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D48 #41480D
analogous
#0D2448 #140D48 #320D48
triadic
#140D48 #48140D #0D4814
tetradic
#140D48 #480D24 #41480D #0D4832
square
#140D48 #480D24 #41480D #0D4832
split-complementary
#140D48 #48320D #24480D
monochromatic
#07051A #07051A #140D48 #22167C #3120B0

Accessibility & contrast

On white

17.78
#140D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D48
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D48#FFFFFF#000000##FFFFFF
##140D481.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140d48;
/* rgb */ color: rgb(20, 13, 72);
/* oklch */ color: oklch(21.9% 0.103 278.9);
Tailwind
colors: {
  custom: {
    50: '#5a4c7c',
    500: '#140d48',
    950: '#000000',
  },
}
SCSS
$custom: #140d48;
$custom-light: #5a4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#140d48",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 247.119,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.21878,
    "c": 0.10332,
    "h": 278.9
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#140D48
secondary
#79832D
accent
#EC3CD7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140D48

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

Preview Lab → · Contrast checker → · Palette generator →

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