#141172#141172

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

Color values

HEX#141172
RGBrgb(20, 17, 114)
HSLhsl(242, 74%, 26%)
HSVhsv(242, 85%, 45%)
CMYKcmyk(82.5%, 85.1%, 0%, 55.3%)
CIE-LABlab(14.20, 36.58, -53.63)
CIE-LCHlch(14.20, 64.92, 304.30°)
OKLaboklab(27.63% 0.0032 -0.1552)
OKLCHoklch(27.63% 0.155 271.2)
XYZxyz(3.5252, 1.7641, 16.0710)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141172 #6F7211
analogous
#113E72 #141172 #441172
triadic
#141172 #721411 #117214
tetradic
#141172 #72113E #6F7211 #117244
square
#141172 #72113E #6F7211 #117244
split-complementary
#141172 #724411 #3E7211
monochromatic
#05041B #0B093D #141172 #1D19A7 #2721DD

Accessibility & contrast

On white

15.52
#141172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141172
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141172#FFFFFF#000000##FFFFFF
##1411721.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141172;
/* rgb */ color: rgb(20, 17, 114);
/* oklch */ color: oklch(27.6% 0.155 271.2);
Tailwind
colors: {
  custom: {
    50: '#66529c',
    500: '#141172',
    950: '#000000',
  },
}
SCSS
$custom: #141172;
$custom-light: #66529c;
$custom-dark: #000000;
JSON
{
  "hex": "#141172",
  "rgb": {
    "r": 20,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 241.856,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27633,
    "c": 0.15526,
    "h": 271.2
  },
  "luminance": 0.01765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #141172

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

Preview Lab → · Contrast checker → · Palette generator →

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