#140F50#140F50

#140F50 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.112 H 276.4°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#140F50
RGBrgb(20, 15, 80)
HSLhsl(245, 68%, 19%)
HSVhsv(245, 81%, 31%)
CMYKcmyk(75%, 81.3%, 0%, 68.6%)
CIE-LABlab(9.56, 25.70, -38.62)
CIE-LCHlch(9.56, 46.39, 303.64°)
OKLaboklab(23.14% 0.0126 -0.1116)
OKLCHoklch(23.14% 0.112 276.4)
XYZxyz(1.9068, 1.0694, 7.6938)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F50 #4B500F
analogous
#0F2A50 #140F50 #340F50
triadic
#140F50 #50140F #0F5014
tetradic
#140F50 #500F2A #4B500F #0F5034
square
#140F50 #500F2A #4B500F #0F5034
split-complementary
#140F50 #50340F #2A500F
monochromatic
#06051A #07051C #140F50 #211984 #2E22B7

Accessibility & contrast

On white

17.30
#140F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F50
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F50#FFFFFF#000000##FFFFFF
##140F501.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #140f50;
/* rgb */ color: rgb(20, 15, 80);
/* oklch */ color: oklch(23.1% 0.112 276.4);
Tailwind
colors: {
  custom: {
    50: '#5c4e82',
    500: '#140f50',
    950: '#000000',
  },
}
SCSS
$custom: #140f50;
$custom-light: #5c4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#140f50",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 244.615,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23142,
    "c": 0.11232,
    "h": 276.4
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#140F50
secondary
#838A31
accent
#EB3DDE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #140F50

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

Preview Lab → · Contrast checker → · Palette generator →

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