#141271#141271

#141271 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.153 H 271.2°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#141271
RGBrgb(20, 18, 113)
HSLhsl(241, 73%, 26%)
HSVhsv(241, 84%, 44%)
CMYKcmyk(82.3%, 84.1%, 0%, 55.7%)
CIE-LABlab(14.25, 35.72, -52.90)
CIE-LCHlch(14.25, 63.82, 304.03°)
OKLaboklab(27.63% 0.0032 -0.1531)
OKLCHoklch(27.63% 0.153 271.2)
XYZxyz(3.4844, 1.7732, 15.7782)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141271 #6F7112
analogous
#123F71 #141271 #431271
triadic
#141271 #711412 #127114
tetradic
#141271 #71123F #6F7112 #127143
square
#141271 #71123F #6F7112 #127143
split-complementary
#141271 #714312 #3F7112
monochromatic
#05041A #0B0A3C #141271 #1D1AA6 #2723DB

Accessibility & contrast

On white

15.50
#141271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141271
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141271#FFFFFF#000000##FFFFFF
##1412711.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141271;
/* rgb */ color: rgb(20, 18, 113);
/* oklch */ color: oklch(27.6% 0.153 271.2);
Tailwind
colors: {
  custom: {
    50: '#65529b',
    500: '#141271',
    950: '#000000',
  },
}
SCSS
$custom: #141271;
$custom-light: #65529b;
$custom-dark: #000000;
JSON
{
  "hex": "#141271",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 241.263,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27632,
    "c": 0.15315,
    "h": 271.2
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#141271
secondary
#A6A837
accent
#EF39EB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #141271

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

Preview Lab → · Contrast checker → · Palette generator →

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