#141B7E#141B7E

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

Color values

HEX#141B7E
RGBrgb(20, 27, 126)
HSLhsl(236, 73%, 29%)
HSVhsv(236, 84%, 49%)
CMYKcmyk(84.1%, 78.6%, 0%, 50.6%)
CIE-LABlab(17.64, 35.15, -55.64)
CIE-LCHlch(17.64, 65.81, 302.28°)
OKLaboklab(30.48% -0.0022 -0.1612)
OKLCHoklch(30.48% 0.161 269.2)
XYZxyz(4.4450, 2.4384, 19.9710)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141B7E #7E7714
analogous
#14507E #141B7E #42147E
triadic
#141B7E #7E141B #1B7E14
tetradic
#141B7E #7E1450 #7E7714 #147E42
square
#141B7E #7E1450 #7E7714 #147E42
split-complementary
#141B7E #7E4214 #507E14
monochromatic
#04061A #0C1049 #141B7E #1C26B3 #2E3ADE

Accessibility & contrast

On white

14.11
#141B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#141B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141B7E
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141B7E#FFFFFF#000000##FFFFFF
##141B7E1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #141b7e;
/* rgb */ color: rgb(20, 27, 126);
/* oklch */ color: oklch(30.5% 0.161 269.2);
Tailwind
colors: {
  custom: {
    50: '#6859a5',
    500: '#141b7e',
    950: '#000000',
  },
}
SCSS
$custom: #141b7e;
$custom-light: #6859a5;
$custom-dark: #000000;
JSON
{
  "hex": "#141b7e",
  "rgb": {
    "r": 20,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 236.038,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30479,
    "c": 0.16121,
    "h": 269.2
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#141B7E
secondary
#B3AB3A
accent
#E338EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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