#140C55#140C55

#140C55 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.3% C 0.122 H 276.1°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#140C55
RGBrgb(20, 12, 85)
HSLhsl(247, 75%, 19%)
HSVhsv(247, 86%, 33%)
CMYKcmyk(76.5%, 85.9%, 0%, 66.7%)
CIE-LABlab(9.54, 29.30, -42.08)
CIE-LCHlch(9.54, 51.27, 304.85°)
OKLaboklab(23.31% 0.013 -0.1216)
OKLCHoklch(23.31% 0.122 276.1)
XYZxyz(2.0591, 1.0673, 8.6901)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140C55 #4D550C
analogous
#0C2955 #140C55 #390C55
triadic
#140C55 #55140C #0C5514
tetradic
#140C55 #550C29 #4D550C #0C5539
square
#140C55 #550C29 #4D550C #0C5539
split-complementary
#140C55 #55390C #29550C
monochromatic
#06041B #07041F #140C55 #21148B #2D1BC0

Accessibility & contrast

On white

17.30
#140C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140C55
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140C55#FFFFFF#000000##FFFFFF
##140C551.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E57
Deuteranopia (green-blind)
#001754
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #140c55;
/* rgb */ color: rgb(20, 12, 85);
/* oklch */ color: oklch(23.3% 0.122 276.1);
Tailwind
colors: {
  custom: {
    50: '#5e4d86',
    500: '#140c55',
    950: '#000000',
  },
}
SCSS
$custom: #140c55;
$custom-light: #5e4d86;
$custom-dark: #000000;
JSON
{
  "hex": "#140c55",
  "rgb": {
    "r": 20,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 246.575,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23312,
    "c": 0.12232,
    "h": 276.1
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#140C55
secondary
#85902D
accent
#F236DD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140C55

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

Preview Lab → · Contrast checker → · Palette generator →

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