#141D7D#141D7D

#141D7D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.158 H 269.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#141D7D
RGBrgb(20, 29, 125)
HSLhsl(235, 72%, 28%)
HSVhsv(235, 84%, 49%)
CMYKcmyk(84%, 76.8%, 0%, 51%)
CIE-LABlab(17.95, 33.57, -54.48)
CIE-LCHlch(17.95, 63.99, 301.64°)
OKLaboklab(30.67% -0.0027 -0.1579)
OKLCHoklch(30.67% 0.158 269)
XYZxyz(4.4283, 2.5076, 19.6487)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141D7D #7D7414
analogous
#14517D #141D7D #3F147D
triadic
#141D7D #7D141D #1D7D14
tetradic
#141D7D #7D1451 #7D7414 #147D3F
square
#141D7D #7D1451 #7D7414 #147D3F
split-complementary
#141D7D #7D3F14 #517D14
monochromatic
#04061A #0C1148 #141D7D #1C29B2 #2E3DDE

Accessibility & contrast

On white

13.99
#141D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#141D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141D7D
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141D7D#FFFFFF#000000##FFFFFF
##141D7D1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #141d7d;
/* rgb */ color: rgb(20, 29, 125);
/* oklch */ color: oklch(30.7% 0.158 269.0);
Tailwind
colors: {
  custom: {
    50: '#685aa4',
    500: '#141d7d',
    950: '#000000',
  },
}
SCSS
$custom: #141d7d;
$custom-light: #685aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#141d7d",
  "rgb": {
    "r": 20,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 234.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30669,
    "c": 0.15788,
    "h": 269
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#141D7D
secondary
#B2A83A
accent
#DF39EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #141D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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