#141771#141771

#141771 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.148 H 270.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#141771
RGBrgb(20, 23, 113)
HSLhsl(238, 70%, 26%)
HSVhsv(238, 82%, 44%)
CMYKcmyk(82.3%, 79.6%, 0%, 55.7%)
CIE-LABlab(15.24, 32.86, -51.25)
CIE-LCHlch(15.24, 60.88, 302.67°)
OKLaboklab(28.33% 0.0015 -0.1484)
OKLCHoklch(28.33% 0.148 270.6)
XYZxyz(3.5745, 1.9534, 15.8082)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141771 #716E14
analogous
#144571 #141771 #3F1471
triadic
#141771 #711417 #177114
tetradic
#141771 #711445 #716E14 #14713F
square
#141771 #711445 #716E14 #14713F
split-complementary
#141771 #713F14 #457114
monochromatic
#05051A #0B0C3D #141771 #1D22A5 #272CD9

Accessibility & contrast

On white

15.10
#141771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#141771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141771
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141771#FFFFFF#000000##FFFFFF
##1417711.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #141771;
/* rgb */ color: rgb(20, 23, 113);
/* oklch */ color: oklch(28.3% 0.148 270.6);
Tailwind
colors: {
  custom: {
    50: '#65559b',
    500: '#141771',
    950: '#000000',
  },
}
SCSS
$custom: #141771;
$custom-light: #65559b;
$custom-dark: #000000;
JSON
{
  "hex": "#141771",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 238.065,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28328,
    "c": 0.14844,
    "h": 270.6
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#141771
secondary
#A7A439
accent
#E73BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #141771

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

Preview Lab → · Contrast checker → · Palette generator →

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