#140E55#140E55

#140E55 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.6% C 0.120 H 275.7°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#140E55
RGBrgb(20, 14, 85)
HSLhsl(245, 72%, 19%)
HSVhsv(245, 84%, 33%)
CMYKcmyk(76.5%, 83.5%, 0%, 66.7%)
CIE-LABlab(9.94, 28.14, -41.41)
CIE-LCHlch(9.94, 50.07, 304.20°)
OKLaboklab(23.59% 0.0119 -0.1197)
OKLCHoklch(23.59% 0.12 275.7)
XYZxyz(2.0847, 1.1185, 8.6986)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E55 #4F550E
analogous
#0E2C55 #140E55 #380E55
triadic
#140E55 #55140E #0E5514
tetradic
#140E55 #550E2C #4F550E #0E5538
square
#140E55 #550E2C #4F550E #0E5538
split-complementary
#140E55 #55380E #2C550E
monochromatic
#06041A #080520 #140E55 #20178A #2D1FBE

Accessibility & contrast

On white

17.16
#140E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#140E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E55
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E55#FFFFFF#000000##FFFFFF
##140E551.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140e55;
/* rgb */ color: rgb(20, 14, 85);
/* oklch */ color: oklch(23.6% 0.120 275.7);
Tailwind
colors: {
  custom: {
    50: '#5e4e86',
    500: '#140e55',
    950: '#000000',
  },
}
SCSS
$custom: #140e55;
$custom-light: #5e4e86;
$custom-dark: #000000;
JSON
{
  "hex": "#140e55",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 245.07,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23593,
    "c": 0.12031,
    "h": 275.7
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#140E55
secondary
#878F30
accent
#EE39DF
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140E55

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

Preview Lab → · Contrast checker → · Palette generator →

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