#140E54#140E54

#140E54 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.119 H 275.9°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#140E54
RGBrgb(20, 14, 84)
HSLhsl(245, 71%, 19%)
HSVhsv(245, 83%, 33%)
CMYKcmyk(76.2%, 83.3%, 0%, 67.1%)
CIE-LABlab(9.82, 27.78, -40.93)
CIE-LCHlch(9.82, 49.47, 304.17°)
OKLaboklab(23.47% 0.0122 -0.1183)
OKLCHoklch(23.47% 0.119 275.9)
XYZxyz(2.0452, 1.1027, 8.4908)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E54 #4E540E
analogous
#0E2B54 #140E54 #370E54
triadic
#140E54 #54140E #0E5414
tetradic
#140E54 #540E2B #4E540E #0E5437
square
#140E54 #540E2B #4E540E #0E5437
split-complementary
#140E54 #54370E #2B540E
monochromatic
#06041A #080520 #140E54 #201788 #2D1FBD

Accessibility & contrast

On white

17.20
#140E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E54
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E54#FFFFFF#000000##FFFFFF
##140E541.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E56
Deuteranopia (green-blind)
#001853
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #140e54;
/* rgb */ color: rgb(20, 14, 84);
/* oklch */ color: oklch(23.5% 0.119 275.9);
Tailwind
colors: {
  custom: {
    50: '#5d4e85',
    500: '#140e54',
    950: '#000000',
  },
}
SCSS
$custom: #140e54;
$custom-light: #5d4e85;
$custom-dark: #000000;
JSON
{
  "hex": "#140e54",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 245.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2347,
    "c": 0.11896,
    "h": 275.9
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#140E54
secondary
#868E2F
accent
#EE3ADF
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #140E54

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

Preview Lab → · Contrast checker → · Palette generator →

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