#142C72#142C72

#142C72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.3% C 0.124 H 265.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#142C72
RGBrgb(20, 44, 114)
HSLhsl(225, 70%, 26%)
HSVhsv(225, 82%, 45%)
CMYKcmyk(82.5%, 61.4%, 0%, 55.3%)
CIE-LABlab(20.69, 18.97, -42.94)
CIE-LCHlch(20.69, 46.95, 293.84°)
OKLaboklab(32.33% -0.01 -0.1241)
OKLCHoklch(32.33% 0.124 265.4)
XYZxyz(4.2254, 3.1645, 16.3044)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C72 #725A14
analogous
#145B72 #142C72 #2B1472
triadic
#142C72 #72142C #2C7214
tetradic
#142C72 #72145B #725A14 #14722B
square
#142C72 #72145B #725A14 #14722B
split-complementary
#142C72 #722B14 #5B7214
monochromatic
#050A1A #0B183E #142C72 #1D40A6 #2755D9

Accessibility & contrast

On white

12.86
#142C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C72
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C72#FFFFFF#000000##FFFFFF
##142C721.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142c72;
/* rgb */ color: rgb(20, 44, 114);
/* oklch */ color: oklch(32.3% 0.124 265.4);
Tailwind
colors: {
  custom: {
    50: '#63649b',
    500: '#142c72',
    950: '#000000',
  },
}
SCSS
$custom: #142c72;
$custom-light: #63649b;
$custom-dark: #000000;
JSON
{
  "hex": "#142c72",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 224.681,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32334,
    "c": 0.12448,
    "h": 265.4
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #142C72

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

Preview Lab → · Contrast checker → · Palette generator →

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