#141A7D#141A7D

#141A7D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.161 H 269.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#141A7D
RGBrgb(20, 26, 125)
HSLhsl(237, 72%, 28%)
HSVhsv(237, 84%, 49%)
CMYKcmyk(84%, 79.2%, 0%, 51%)
CIE-LABlab(17.31, 35.39, -55.55)
CIE-LCHlch(17.31, 65.86, 302.50°)
OKLaboklab(30.21% -0.0017 -0.1609)
OKLCHoklch(30.21% 0.161 269.4)
XYZxyz(4.3583, 2.3677, 19.6254)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141A7D #7D7714
analogous
#144E7D #141A7D #42147D
triadic
#141A7D #7D141A #1A7D14
tetradic
#141A7D #7D144E #7D7714 #147D42
square
#141A7D #7D144E #7D7714 #147D42
split-complementary
#141A7D #7D4214 #4E7D14
monochromatic
#04051A #0C0F48 #141A7D #1C25B2 #2E38DE

Accessibility & contrast

On white

14.25
#141A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#141A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141A7D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141A7D#FFFFFF#000000##FFFFFF
##141A7D1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #141a7d;
/* rgb */ color: rgb(20, 26, 125);
/* oklch */ color: oklch(30.2% 0.161 269.4);
Tailwind
colors: {
  custom: {
    50: '#6858a4',
    500: '#141a7d',
    950: '#000000',
  },
}
SCSS
$custom: #141a7d;
$custom-light: #6858a4;
$custom-dark: #000000;
JSON
{
  "hex": "#141a7d",
  "rgb": {
    "r": 20,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 236.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30212,
    "c": 0.16093,
    "h": 269.4
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#141A7D
secondary
#B2AC3A
accent
#E539EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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