#140F49#140F49

#140F49 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.102 H 278.0°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#140F49
RGBrgb(20, 15, 73)
HSLhsl(245, 66%, 17%)
HSVhsv(245, 79%, 29%)
CMYKcmyk(72.6%, 79.5%, 0%, 71.4%)
CIE-LABlab(8.75, 23.08, -35.10)
CIE-LCHlch(8.75, 42.01, 303.33°)
OKLaboklab(22.33% 0.0142 -0.1013)
OKLCHoklch(22.33% 0.102 278)
XYZxyz(1.6615, 0.9713, 6.4020)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F49 #44490F
analogous
#0F2749 #140F49 #310F49
triadic
#140F49 #49140F #0F4914
tetradic
#140F49 #490F27 #44490F #0F4931
square
#140F49 #490F27 #44490F #0F4931
split-complementary
#140F49 #49310F #27490F
monochromatic
#070519 #070519 #140F49 #22197C #3024AF

Accessibility & contrast

On white

17.58
#140F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#140F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F49
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F49#FFFFFF#000000##FFFFFF
##140F491.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001748
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #140f49;
/* rgb */ color: rgb(20, 15, 73);
/* oklch */ color: oklch(22.3% 0.102 278.0);
Tailwind
colors: {
  custom: {
    50: '#5a4e7c',
    500: '#140f49',
    950: '#000000',
  },
}
SCSS
$custom: #140f49;
$custom-light: #5a4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#140f49",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 245.172,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22327,
    "c": 0.10232,
    "h": 278
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#140F49
secondary
#7C8330
accent
#E93FDA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140F49

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

Preview Lab → · Contrast checker → · Palette generator →

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