#140D53#140D53

#140D53 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.119 H 276.3°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#140D53
RGBrgb(20, 13, 83)
HSLhsl(246, 73%, 19%)
HSVhsv(246, 84%, 33%)
CMYKcmyk(75.9%, 84.3%, 0%, 67.5%)
CIE-LABlab(9.49, 28.02, -40.79)
CIE-LCHlch(9.49, 49.49, 304.48°)
OKLaboklab(23.2% 0.013 -0.1179)
OKLCHoklch(23.2% 0.119 276.3)
XYZxyz(1.9932, 1.0609, 8.2817)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D53 #4C530D
analogous
#0D2953 #140D53 #370D53
triadic
#140D53 #53140D #0D5314
tetradic
#140D53 #530D29 #4C530D #0D5337
square
#140D53 #530D29 #4C530D #0D5337
split-complementary
#140D53 #53370D #29530D
monochromatic
#06041A #07051E #140D53 #211588 #2E1EBD

Accessibility & contrast

On white

17.32
#140D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#140D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140D53
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D53#FFFFFF#000000##FFFFFF
##140D531.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D55
Deuteranopia (green-blind)
#001752
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #140d53;
/* rgb */ color: rgb(20, 13, 83);
/* oklch */ color: oklch(23.2% 0.119 276.3);
Tailwind
colors: {
  custom: {
    50: '#5d4d84',
    500: '#140d53',
    950: '#000000',
  },
}
SCSS
$custom: #140d53;
$custom-light: #5d4d84;
$custom-dark: #000000;
JSON
{
  "hex": "#140d53",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 246,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23202,
    "c": 0.11863,
    "h": 276.3
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#140D53
secondary
#848E2E
accent
#F038DD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140D53

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

Preview Lab → · Contrast checker → · Palette generator →

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