#142C71#142C71

#142C71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.123 H 265.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#142C71
RGBrgb(20, 44, 113)
HSLhsl(225, 70%, 26%)
HSVhsv(225, 82%, 44%)
CMYKcmyk(82.3%, 61.1%, 0%, 55.7%)
CIE-LABlab(20.60, 18.56, -42.44)
CIE-LCHlch(20.60, 46.32, 293.62°)
OKLaboklab(32.24% -0.01 -0.1226)
OKLCHoklch(32.24% 0.123 265.3)
XYZxyz(4.1688, 3.1419, 16.0063)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C71 #715914
analogous
#145A71 #142C71 #2A1471
triadic
#142C71 #71142C #2C7114
tetradic
#142C71 #71145A #715914 #14712A
square
#142C71 #71145A #715914 #14712A
split-complementary
#142C71 #712A14 #5A7114
monochromatic
#050A1A #0B183D #142C71 #1D40A5 #2755D9

Accessibility & contrast

On white

12.90
#142C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#142C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C71
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C71#FFFFFF#000000##FFFFFF
##142C711.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142c71;
/* rgb */ color: rgb(20, 44, 113);
/* oklch */ color: oklch(32.2% 0.123 265.3);
Tailwind
colors: {
  custom: {
    50: '#63649a',
    500: '#142c71',
    950: '#000000',
  },
}
SCSS
$custom: #142c71;
$custom-light: #63649a;
$custom-dark: #000000;
JSON
{
  "hex": "#142c71",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 224.516,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32241,
    "c": 0.12303,
    "h": 265.3
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#142C71
secondary
#A78B39
accent
#BF3BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142C71

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

Preview Lab → · Contrast checker → · Palette generator →

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