#141B7D#141B7D

#141B7D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.160 H 269.3°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#141B7D
RGBrgb(20, 27, 125)
HSLhsl(236, 72%, 28%)
HSVhsv(236, 84%, 49%)
CMYKcmyk(84%, 78.4%, 0%, 51%)
CIE-LABlab(17.52, 34.79, -55.20)
CIE-LCHlch(17.52, 65.25, 302.22°)
OKLaboklab(30.36% -0.002 -0.1599)
OKLCHoklch(30.36% 0.16 269.3)
XYZxyz(4.3808, 2.4127, 19.6329)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141B7D #7D7614
analogous
#144F7D #141B7D #41147D
triadic
#141B7D #7D141B #1B7D14
tetradic
#141B7D #7D144F #7D7614 #147D41
square
#141B7D #7D144F #7D7614 #147D41
split-complementary
#141B7D #7D4114 #4F7D14
monochromatic
#04061A #0C1048 #141B7D #1C26B2 #2E3ADE

Accessibility & contrast

On white

14.16
#141B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#141B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141B7D
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141B7D#FFFFFF#000000##FFFFFF
##141B7D1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141b7d;
/* rgb */ color: rgb(20, 27, 125);
/* oklch */ color: oklch(30.4% 0.160 269.3);
Tailwind
colors: {
  custom: {
    50: '#6859a4',
    500: '#141b7d',
    950: '#000000',
  },
}
SCSS
$custom: #141b7d;
$custom-light: #6859a4;
$custom-dark: #000000;
JSON
{
  "hex": "#141b7d",
  "rgb": {
    "r": 20,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 236,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3036,
    "c": 0.15993,
    "h": 269.3
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#141B7D
secondary
#B2AA3A
accent
#E339EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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