#142173#142173

#142173 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.140 H 268.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#142173
RGBrgb(20, 33, 115)
HSLhsl(232, 70%, 26%)
HSVhsv(232, 83%, 45%)
CMYKcmyk(82.6%, 71.3%, 0%, 54.9%)
CIE-LABlab(17.80, 27.15, -48.32)
CIE-LCHlch(17.80, 55.43, 299.33°)
OKLaboklab(30.23% -0.0032 -0.1399)
OKLCHoklch(30.23% 0.14 268.7)
XYZxyz(3.9258, 2.4738, 16.4869)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142173 #736614
analogous
#145173 #142173 #371473
triadic
#142173 #731421 #217314
tetradic
#142173 #731451 #736614 #147337
square
#142173 #731451 #736614 #147337
split-complementary
#142173 #733714 #517314
monochromatic
#05071A #0B123F #142173 #1D30A7 #2840DA

Accessibility & contrast

On white

14.05
#142173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#142173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142173
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142173#FFFFFF#000000##FFFFFF
##1421731.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142173;
/* rgb */ color: rgb(20, 33, 115);
/* oklch */ color: oklch(30.2% 0.140 268.7);
Tailwind
colors: {
  custom: {
    50: '#645c9c',
    500: '#142173',
    950: '#000000',
  },
}
SCSS
$custom: #142173;
$custom-light: #645c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#142173",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 231.789,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3023,
    "c": 0.13999,
    "h": 268.7
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#142173
secondary
#A99A3A
accent
#D53BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142173

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

Preview Lab → · Contrast checker → · Palette generator →

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