#141D7E#141D7E

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

Color values

HEX#141D7E
RGBrgb(20, 29, 126)
HSLhsl(235, 73%, 29%)
HSVhsv(235, 84%, 49%)
CMYKcmyk(84.1%, 77%, 0%, 50.6%)
CIE-LABlab(18.07, 33.93, -54.93)
CIE-LCHlch(18.07, 64.56, 301.71°)
OKLaboklab(30.79% -0.0028 -0.1592)
OKLCHoklch(30.79% 0.159 269)
XYZxyz(4.4925, 2.5333, 19.9868)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141D7E #7E7514
analogous
#14527E #141D7E #40147E
triadic
#141D7E #7E141D #1D7E14
tetradic
#141D7E #7E1452 #7E7514 #147E40
square
#141D7E #7E1452 #7E7514 #147E40
split-complementary
#141D7E #7E4014 #527E14
monochromatic
#04061A #0C1149 #141D7E #1C29B3 #2E3DDE

Accessibility & contrast

On white

13.94
#141D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141D7E
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141D7E#FFFFFF#000000##FFFFFF
##141D7E1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141d7e;
/* rgb */ color: rgb(20, 29, 126);
/* oklch */ color: oklch(30.8% 0.159 269.0);
Tailwind
colors: {
  custom: {
    50: '#685aa5',
    500: '#141d7e',
    950: '#000000',
  },
}
SCSS
$custom: #141d7e;
$custom-light: #685aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#141d7e",
  "rgb": {
    "r": 20,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 234.906,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30785,
    "c": 0.15918,
    "h": 269
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #141D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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