#141D7F#141D7F

#141D7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.160 H 268.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#141D7F
RGBrgb(20, 29, 127)
HSLhsl(235, 73%, 29%)
HSVhsv(235, 84%, 50%)
CMYKcmyk(84.3%, 77.2%, 0%, 50.2%)
CIE-LABlab(18.18, 34.30, -55.37)
CIE-LCHlch(18.18, 65.13, 301.78°)
OKLaboklab(30.9% -0.003 -0.1604)
OKLCHoklch(30.9% 0.16 268.9)
XYZxyz(4.5573, 2.5592, 20.3283)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141D7F #7F7614
analogous
#14537F #141D7F #41147F
triadic
#141D7F #7F141D #1D7F14
tetradic
#141D7F #7F1453 #7F7614 #147F41
square
#141D7F #7F1453 #7F7614 #147F41
split-complementary
#141D7F #7F4114 #537F14
monochromatic
#04061A #0C114A #141D7F #1C29B4 #2F3EDE

Accessibility & contrast

On white

13.89
#141D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#141D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141D7F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141D7F#FFFFFF#000000##FFFFFF
##141D7F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #141d7f;
/* rgb */ color: rgb(20, 29, 127);
/* oklch */ color: oklch(30.9% 0.160 268.9);
Tailwind
colors: {
  custom: {
    50: '#685aa5',
    500: '#141d7f',
    950: '#000000',
  },
}
SCSS
$custom: #141d7f;
$custom-light: #685aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#141d7f",
  "rgb": {
    "r": 20,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 234.953,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30902,
    "c": 0.16047,
    "h": 268.9
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#141D7F
secondary
#B4AA3B
accent
#E038EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #141D7F

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

Preview Lab → · Contrast checker → · Palette generator →

#141D7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva