#140A48#140A48

#140A48 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.4% C 0.107 H 279.8°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#140A48
RGBrgb(20, 10, 72)
HSLhsl(250, 76%, 16%)
HSVhsv(250, 86%, 28%)
CMYKcmyk(72.2%, 86.1%, 0%, 71.8%)
CIE-LABlab(7.53, 25.82, -36.41)
CIE-LCHlch(7.53, 44.63, 305.34°)
OKLaboklab(21.42% 0.0181 -0.1052)
OKLCHoklch(21.42% 0.107 279.8)
XYZxyz(1.5664, 0.8336, 6.2080)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A48 #3E480A
analogous
#0A1F48 #140A48 #330A48
triadic
#140A48 #48140A #0A4814
tetradic
#140A48 #480A1F #3E480A #0A4833
square
#140A48 #480A1F #3E480A #0A4833
split-complementary
#140A48 #48330A #1F480A
monochromatic
#07041B #07041B #140A48 #23117E #3219B3

Accessibility & contrast

On white

18.00
#140A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140A48
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A48#FFFFFF#000000##FFFFFF
##140A481.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001447
Tritanopia (blue-blind)
#001C29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #140a48;
/* rgb */ color: rgb(20, 10, 72);
/* oklch */ color: oklch(21.4% 0.107 279.8);
Tailwind
colors: {
  custom: {
    50: '#5b4b7c',
    500: '#140a48',
    950: '#000000',
  },
}
SCSS
$custom: #140a48;
$custom-light: #5b4b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#140a48",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 249.677,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.21423,
    "c": 0.1067,
    "h": 279.8
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#140A48
secondary
#768529
accent
#F236D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #140A48

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

Preview Lab → · Contrast checker → · Palette generator →

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