#141571#141571

#141571 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.150 H 270.9°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#141571
RGBrgb(20, 21, 113)
HSLhsl(239, 70%, 26%)
HSVhsv(239, 82%, 44%)
CMYKcmyk(82.3%, 81.4%, 0%, 55.7%)
CIE-LABlab(14.83, 34.04, -51.94)
CIE-LCHlch(14.83, 62.10, 303.24°)
OKLaboklab(28.04% 0.0022 -0.1504)
OKLCHoklch(28.04% 0.15 270.9)
XYZxyz(3.5363, 1.8769, 15.7955)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141571 #717014
analogous
#144371 #141571 #411471
triadic
#141571 #711415 #157114
tetradic
#141571 #711443 #717014 #147141
square
#141571 #711443 #717014 #147141
split-complementary
#141571 #714114 #437114
monochromatic
#05051A #0B0B3D #141571 #1D1FA5 #2729D9

Accessibility & contrast

On white

15.27
#141571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#141571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141571
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141571#FFFFFF#000000##FFFFFF
##1415711.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #141571;
/* rgb */ color: rgb(20, 21, 113);
/* oklch */ color: oklch(28.0% 0.150 270.9);
Tailwind
colors: {
  custom: {
    50: '#65549b',
    500: '#141571',
    950: '#000000',
  },
}
SCSS
$custom: #141571;
$custom-light: #65549b;
$custom-dark: #000000;
JSON
{
  "hex": "#141571",
  "rgb": {
    "r": 20,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 239.355,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28037,
    "c": 0.15041,
    "h": 270.9
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#141571
secondary
#A7A639
accent
#EB3BED
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #141571

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

Preview Lab → · Contrast checker → · Palette generator →

#141571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva