#140B4F#140B4F

#140B4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.115 H 277.6°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#140B4F
RGBrgb(20, 11, 79)
HSLhsl(248, 76%, 18%)
HSVhsv(248, 86%, 31%)
CMYKcmyk(74.7%, 86.1%, 0%, 69%)
CIE-LABlab(8.59, 27.76, -39.53)
CIE-LCHlch(8.59, 48.30, 305.08°)
OKLaboklab(22.43% 0.0153 -0.1142)
OKLCHoklch(22.43% 0.115 277.6)
XYZxyz(1.8190, 0.9524, 7.4836)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140B4F #464F0B
analogous
#0B244F #140B4F #360B4F
triadic
#140B4F #4F140B #0B4F14
tetradic
#140B4F #4F0B24 #464F0B #0B4F36
square
#140B4F #4F0B24 #464F0B #0B4F36
split-complementary
#140B4F #4F360B #244F0B
monochromatic
#07041B #07041B #140B4F #221285 #2F1ABA

Accessibility & contrast

On white

17.64
#140B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140B4F
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140B4F#FFFFFF#000000##FFFFFF
##140B4F1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B51
Deuteranopia (green-blind)
#00164E
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #140b4f;
/* rgb */ color: rgb(20, 11, 79);
/* oklch */ color: oklch(22.4% 0.115 277.6);
Tailwind
colors: {
  custom: {
    50: '#5c4c81',
    500: '#140b4f',
    950: '#000000',
  },
}
SCSS
$custom: #140b4f;
$custom-light: #5c4c81;
$custom-dark: #000000;
JSON
{
  "hex": "#140b4f",
  "rgb": {
    "r": 20,
    "g": 11,
    "b": 79
  },
  "hsl": {
    "h": 247.941,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22426,
    "c": 0.11523,
    "h": 277.6
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#140B4F
secondary
#7E8B2B
accent
#F236D9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #140B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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