#140A49#140A49

#140A49 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.5% C 0.108 H 279.5°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#140A49
RGBrgb(20, 10, 73)
HSLhsl(250, 76%, 16%)
HSVhsv(250, 86%, 29%)
CMYKcmyk(72.6%, 86.3%, 0%, 71.4%)
CIE-LABlab(7.65, 26.19, -36.91)
CIE-LCHlch(7.65, 45.26, 305.36°)
OKLaboklab(21.55% 0.0178 -0.1066)
OKLCHoklch(21.55% 0.108 279.5)
XYZxyz(1.5992, 0.8467, 6.3812)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A49 #3F490A
analogous
#0A2049 #140A49 #340A49
triadic
#140A49 #49140A #0A4914
tetradic
#140A49 #490A20 #3F490A #0A4934
square
#140A49 #490A20 #3F490A #0A4934
split-complementary
#140A49 #49340A #20490A
monochromatic
#07041B #07041B #140A49 #23117F #3119B5

Accessibility & contrast

On white

17.96
#140A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#140A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A49
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A49#FFFFFF#000000##FFFFFF
##140A491.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194B
Deuteranopia (green-blind)
#001448
Tritanopia (blue-blind)
#001D29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #140a49;
/* rgb */ color: rgb(20, 10, 73);
/* oklch */ color: oklch(21.5% 0.108 279.5);
Tailwind
colors: {
  custom: {
    50: '#5b4b7d',
    500: '#140a49',
    950: '#000000',
  },
}
SCSS
$custom: #140a49;
$custom-light: #5b4b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#140a49",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 249.524,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21545,
    "c": 0.10808,
    "h": 279.5
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#140A49
secondary
#778629
accent
#F235D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #140A49

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

Preview Lab → · Contrast checker → · Palette generator →

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