#140E53#140E53

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

Color values

HEX#140E53
RGBrgb(20, 14, 83)
HSLhsl(245, 71%, 19%)
HSVhsv(245, 83%, 33%)
CMYKcmyk(75.9%, 83.1%, 0%, 67.5%)
CIE-LABlab(9.70, 27.42, -40.45)
CIE-LCHlch(9.70, 48.87, 304.14°)
OKLaboklab(23.35% 0.0124 -0.1169)
OKLCHoklch(23.35% 0.118 276.1)
XYZxyz(2.0064, 1.0871, 8.2860)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E53 #4D530E
analogous
#0E2B53 #140E53 #370E53
triadic
#140E53 #53140E #0E5314
tetradic
#140E53 #530E2B #4D530E #0E5337
square
#140E53 #530E2B #4D530E #0E5337
split-complementary
#140E53 #53370E #2B530E
monochromatic
#06041A #07051F #140E53 #211787 #2D20BC

Accessibility & contrast

On white

17.25
#140E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E53
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E53#FFFFFF#000000##FFFFFF
##140E531.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001852
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #140e53;
/* rgb */ color: rgb(20, 14, 83);
/* oklch */ color: oklch(23.3% 0.118 276.1);
Tailwind
colors: {
  custom: {
    50: '#5d4e84',
    500: '#140e53',
    950: '#000000',
  },
}
SCSS
$custom: #140e53;
$custom-light: #5d4e84;
$custom-dark: #000000;
JSON
{
  "hex": "#140e53",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 83
  },
  "hsl": {
    "h": 245.217,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23349,
    "c": 0.11758,
    "h": 276.1
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#140E53
secondary
#858D2F
accent
#EE3ADE
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140E53

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

Preview Lab → · Contrast checker → · Palette generator →

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