#141171#141171

#141171 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.154 H 271.3°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#141171
RGBrgb(20, 17, 113)
HSLhsl(242, 74%, 25%)
HSVhsv(242, 85%, 44%)
CMYKcmyk(82.3%, 85%, 0%, 55.7%)
CIE-LABlab(14.07, 36.25, -53.20)
CIE-LCHlch(14.07, 64.37, 304.27°)
OKLaboklab(27.51% 0.0035 -0.154)
OKLCHoklch(27.51% 0.154 271.3)
XYZxyz(3.4686, 1.7415, 15.7729)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141171 #6E7111
analogous
#113E71 #141171 #441171
triadic
#141171 #711411 #117114
tetradic
#141171 #71113E #6E7111 #117144
square
#141171 #71113E #6E7111 #117144
split-complementary
#141171 #714411 #3E7111
monochromatic
#05041B #0B093C #141171 #1D19A6 #2721DB

Accessibility & contrast

On white

15.57
#141171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#141171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141171
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141171#FFFFFF#000000##FFFFFF
##1411711.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #141171;
/* rgb */ color: rgb(20, 17, 113);
/* oklch */ color: oklch(27.5% 0.154 271.3);
Tailwind
colors: {
  custom: {
    50: '#65529b',
    500: '#141171',
    950: '#000000',
  },
}
SCSS
$custom: #141171;
$custom-light: #65529b;
$custom-dark: #000000;
JSON
{
  "hex": "#141171",
  "rgb": {
    "r": 20,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 241.875,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27506,
    "c": 0.15401,
    "h": 271.3
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#141171
secondary
#A5A836
accent
#F137EB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #141171

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

Preview Lab → · Contrast checker → · Palette generator →

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