#142073#142073

#142073 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.141 H 268.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#142073
RGBrgb(20, 32, 115)
HSLhsl(232, 70%, 26%)
HSVhsv(232, 83%, 45%)
CMYKcmyk(82.6%, 72.2%, 0%, 54.9%)
CIE-LABlab(17.55, 27.83, -48.74)
CIE-LCHlch(17.55, 56.12, 299.72°)
OKLaboklab(30.05% -0.0027 -0.1411)
OKLCHoklch(30.05% 0.141 268.9)
XYZxyz(3.8984, 2.4191, 16.4778)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142073 #736714
analogous
#145073 #142073 #381473
triadic
#142073 #731420 #207314
tetradic
#142073 #731450 #736714 #147338
square
#142073 #731450 #736714 #147338
split-complementary
#142073 #733814 #507314
monochromatic
#05071A #0B113F #142073 #1D2FA7 #283EDA

Accessibility & contrast

On white

14.15
#142073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#142073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142073
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142073#FFFFFF#000000##FFFFFF
##1420731.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142073;
/* rgb */ color: rgb(20, 32, 115);
/* oklch */ color: oklch(30.0% 0.141 268.9);
Tailwind
colors: {
  custom: {
    50: '#645b9c',
    500: '#142073',
    950: '#000000',
  },
}
SCSS
$custom: #142073;
$custom-light: #645b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#142073",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 232.421,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30047,
    "c": 0.14118,
    "h": 268.9
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#142073
secondary
#A99B3A
accent
#D73BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142073

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

Preview Lab → · Contrast checker → · Palette generator →

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