#141872#141872

#141872 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.149 H 270.4°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#141872
RGBrgb(20, 24, 114)
HSLhsl(237, 70%, 26%)
HSVhsv(237, 82%, 45%)
CMYKcmyk(82.5%, 78.9%, 0%, 55.3%)
CIE-LABlab(15.57, 32.62, -51.35)
CIE-LCHlch(15.57, 60.83, 302.42°)
OKLaboklab(28.6% 0.001 -0.1487)
OKLCHoklch(28.6% 0.149 270.4)
XYZxyz(3.6514, 2.0165, 16.1131)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141872 #726E14
analogous
#144772 #141872 #3F1472
triadic
#141872 #721418 #187214
tetradic
#141872 #721447 #726E14 #14723F
square
#141872 #721447 #726E14 #14723F
split-complementary
#141872 #723F14 #477214
monochromatic
#05051A #0B0D3E #141872 #1D23A6 #272FD9

Accessibility & contrast

On white

14.96
#141872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#141872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141872
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141872#FFFFFF#000000##FFFFFF
##1418721.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #141872;
/* rgb */ color: rgb(20, 24, 114);
/* oklch */ color: oklch(28.6% 0.149 270.4);
Tailwind
colors: {
  custom: {
    50: '#65569c',
    500: '#141872',
    950: '#000000',
  },
}
SCSS
$custom: #141872;
$custom-light: #65569c;
$custom-dark: #000000;
JSON
{
  "hex": "#141872",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 237.447,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28598,
    "c": 0.14872,
    "h": 270.4
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#141872
secondary
#A8A439
accent
#E53BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #141872

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

Preview Lab → · Contrast checker → · Palette generator →

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