#141B71#141B71

#141B71 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.144 H 270.0°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#141B71
RGBrgb(20, 27, 113)
HSLhsl(235, 70%, 26%)
HSVhsv(235, 82%, 44%)
CMYKcmyk(82.3%, 76.1%, 0%, 55.7%)
CIE-LABlab(16.13, 30.36, -49.79)
CIE-LCHlch(16.13, 58.32, 301.38°)
OKLaboklab(28.96% -0.0001 -0.1442)
OKLCHoklch(28.96% 0.144 270)
XYZxyz(3.6600, 2.1244, 15.8367)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141B71 #716A14
analogous
#144971 #141B71 #3B1471
triadic
#141B71 #71141B #1B7114
tetradic
#141B71 #711449 #716A14 #14713B
square
#141B71 #711449 #716A14 #14713B
split-complementary
#141B71 #713B14 #497114
monochromatic
#05061A #0B0F3D #141B71 #1D27A5 #2734D9

Accessibility & contrast

On white

14.74
#141B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#141B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141B71
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141B71#FFFFFF#000000##FFFFFF
##141B711.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #141b71;
/* rgb */ color: rgb(20, 27, 113);
/* oklch */ color: oklch(29.0% 0.144 270.0);
Tailwind
colors: {
  custom: {
    50: '#64589b',
    500: '#141b71',
    950: '#000000',
  },
}
SCSS
$custom: #141b71;
$custom-light: #64589b;
$custom-dark: #000000;
JSON
{
  "hex": "#141b71",
  "rgb": {
    "r": 20,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 235.484,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28958,
    "c": 0.14421,
    "h": 270
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#141B71
secondary
#A79F39
accent
#DF3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #141B71

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

Preview Lab → · Contrast checker → · Palette generator →

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