#141B7F#141B7F

#141B7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.162 H 269.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#141B7F
RGBrgb(20, 27, 127)
HSLhsl(236, 73%, 29%)
HSVhsv(236, 84%, 50%)
CMYKcmyk(84.3%, 78.7%, 0%, 50.2%)
CIE-LABlab(17.76, 35.51, -56.08)
CIE-LCHlch(17.76, 66.38, 302.34°)
OKLaboklab(30.6% -0.0023 -0.1625)
OKLCHoklch(30.6% 0.162 269.2)
XYZxyz(4.5099, 2.4644, 20.3125)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141B7F #7F7814
analogous
#14517F #141B7F #43147F
triadic
#141B7F #7F141B #1B7F14
tetradic
#141B7F #7F1451 #7F7814 #147F43
square
#141B7F #7F1451 #7F7814 #147F43
split-complementary
#141B7F #7F4314 #517F14
monochromatic
#04061A #0C104A #141B7F #1C26B4 #2F3BDE

Accessibility & contrast

On white

14.07
#141B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141B7F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141B7F#FFFFFF#000000##FFFFFF
##141B7F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141b7f;
/* rgb */ color: rgb(20, 27, 127);
/* oklch */ color: oklch(30.6% 0.162 269.2);
Tailwind
colors: {
  custom: {
    50: '#6859a5',
    500: '#141b7f',
    950: '#000000',
  },
}
SCSS
$custom: #141b7f;
$custom-light: #6859a5;
$custom-dark: #000000;
JSON
{
  "hex": "#141b7f",
  "rgb": {
    "r": 20,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 236.075,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30598,
    "c": 0.16249,
    "h": 269.2
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #141B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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