#140C53#140C53

#140C53 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.1% C 0.120 H 276.5°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#140C53
RGBrgb(20, 12, 83)
HSLhsl(247, 75%, 19%)
HSVhsv(247, 86%, 33%)
CMYKcmyk(75.9%, 85.5%, 0%, 67.5%)
CIE-LABlab(9.29, 28.60, -41.13)
CIE-LCHlch(9.29, 50.09, 304.81°)
OKLaboklab(23.06% 0.0136 -0.1189)
OKLCHoklch(23.06% 0.12 276.5)
XYZxyz(1.9808, 1.0360, 8.2775)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C53 #4B530C
analogous
#0C2753 #140C53 #370C53
triadic
#140C53 #53140C #0C5314
tetradic
#140C53 #530C27 #4B530C #0C5337
square
#140C53 #530C27 #4B530C #0C5337
split-complementary
#140C53 #53370C #27530C
monochromatic
#06041B #07041E #140C53 #211488 #2E1BBE

Accessibility & contrast

On white

17.40
#140C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140C53
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140C53#FFFFFF#000000##FFFFFF
##140C531.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140c53;
/* rgb */ color: rgb(20, 12, 83);
/* oklch */ color: oklch(23.1% 0.120 276.5);
Tailwind
colors: {
  custom: {
    50: '#5d4d84',
    500: '#140c53',
    950: '#000000',
  },
}
SCSS
$custom: #140c53;
$custom-light: #5d4d84;
$custom-dark: #000000;
JSON
{
  "hex": "#140c53",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 246.761,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23062,
    "c": 0.11964,
    "h": 276.5
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#140C53
secondary
#838E2D
accent
#F136DC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140C53

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

Preview Lab → · Contrast checker → · Palette generator →

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