#140E52#140E52

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

Color values

HEX#140E52
RGBrgb(20, 14, 82)
HSLhsl(245, 71%, 19%)
HSVhsv(245, 83%, 32%)
CMYKcmyk(75.6%, 82.9%, 0%, 67.8%)
CIE-LABlab(9.58, 27.06, -39.96)
CIE-LCHlch(9.58, 48.26, 304.10°)
OKLaboklab(23.23% 0.0127 -0.1155)
OKLCHoklch(23.23% 0.116 276.3)
XYZxyz(1.9680, 1.0718, 8.0842)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E52 #4C520E
analogous
#0E2A52 #140E52 #360E52
triadic
#140E52 #52140E #0E5214
tetradic
#140E52 #520E2A #4C520E #0E5236
square
#140E52 #520E2A #4C520E #0E5236
split-complementary
#140E52 #52360E #2A520E
monochromatic
#06041A #07051E #140E52 #211786 #2E20BB

Accessibility & contrast

On white

17.29
#140E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E52
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E52#FFFFFF#000000##FFFFFF
##140E521.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D54
Deuteranopia (green-blind)
#001851
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #140e52;
/* rgb */ color: rgb(20, 14, 82);
/* oklch */ color: oklch(23.2% 0.116 276.3);
Tailwind
colors: {
  custom: {
    50: '#5d4e83',
    500: '#140e52',
    950: '#000000',
  },
}
SCSS
$custom: #140e52;
$custom-light: #5d4e83;
$custom-dark: #000000;
JSON
{
  "hex": "#140e52",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 245.294,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23227,
    "c": 0.11621,
    "h": 276.3
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#140E52
secondary
#848C2F
accent
#EE3ADE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140E52

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

Preview Lab → · Contrast checker → · Palette generator →

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