#140E45#140E45

#140E45 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.098 H 279.4°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#140E45
RGBrgb(20, 14, 69)
HSLhsl(247, 66%, 16%)
HSVhsv(247, 80%, 27%)
CMYKcmyk(71%, 79.7%, 0%, 72.9%)
CIE-LABlab(8.06, 22.24, -33.43)
CIE-LCHlch(8.06, 40.15, 303.64°)
OKLaboklab(21.7% 0.0159 -0.0964)
OKLCHoklch(21.7% 0.098 279.4)
XYZxyz(1.5194, 0.8924, 5.7212)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E45 #3F450E
analogous
#0E2445 #140E45 #300E45
triadic
#140E45 #45140E #0E4514
tetradic
#140E45 #450E24 #3F450E #0E4530
square
#140E45 #450E24 #3F450E #0E4530
split-complementary
#140E45 #45300E #24450E
monochromatic
#070519 #070519 #140E45 #231878 #3123AB

Accessibility & contrast

On white

17.82
#140E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#140E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E45
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E45#FFFFFF#000000##FFFFFF
##140E451.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#001D28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140e45;
/* rgb */ color: rgb(20, 14, 69);
/* oklch */ color: oklch(21.7% 0.098 279.4);
Tailwind
colors: {
  custom: {
    50: '#594d79',
    500: '#140e45',
    950: '#000000',
  },
}
SCSS
$custom: #140e45;
$custom-light: #594d79;
$custom-dark: #000000;
JSON
{
  "hex": "#140e45",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 246.545,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21699,
    "c": 0.09774,
    "h": 279.4
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#140E45
secondary
#77802F
accent
#E93FD7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #140E45

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

Preview Lab → · Contrast checker → · Palette generator →

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