#142C73#142C73

#142C73 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.126 H 265.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#142C73
RGBrgb(20, 44, 115)
HSLhsl(225, 70%, 26%)
HSVhsv(225, 83%, 45%)
CMYKcmyk(82.6%, 61.7%, 0%, 54.9%)
CIE-LABlab(20.78, 19.39, -43.44)
CIE-LCHlch(20.78, 47.57, 294.05°)
OKLaboklab(32.43% -0.01 -0.1255)
OKLCHoklch(32.43% 0.126 265.5)
XYZxyz(4.2826, 3.1874, 16.6059)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C73 #735B14
analogous
#145C73 #142C73 #2C1473
triadic
#142C73 #73142C #2C7314
tetradic
#142C73 #73145C #735B14 #14732C
square
#142C73 #73145C #735B14 #14732C
split-complementary
#142C73 #732C14 #5C7314
monochromatic
#050A1A #0B183F #142C73 #1D40A7 #2855DA

Accessibility & contrast

On white

12.82
#142C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#142C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C73
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C73#FFFFFF#000000##FFFFFF
##142C731.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142c73;
/* rgb */ color: rgb(20, 44, 115);
/* oklch */ color: oklch(32.4% 0.126 265.5);
Tailwind
colors: {
  custom: {
    50: '#63649c',
    500: '#142c73',
    950: '#000000',
  },
}
SCSS
$custom: #142c73;
$custom-light: #63649c;
$custom-dark: #000000;
JSON
{
  "hex": "#142c73",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 224.842,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.12595,
    "h": 265.5
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#142C73
secondary
#A98D3A
accent
#C03BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142C73

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

Preview Lab → · Contrast checker → · Palette generator →

#142C73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva