#142C70#142C70

#142C70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.122 H 265.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#142C70
RGBrgb(20, 44, 112)
HSLhsl(224, 70%, 26%)
HSVhsv(224, 82%, 44%)
CMYKcmyk(82.1%, 60.7%, 0%, 56.1%)
CIE-LABlab(20.52, 18.14, -41.94)
CIE-LCHlch(20.52, 45.70, 293.39°)
OKLaboklab(32.15% -0.0101 -0.1211)
OKLCHoklch(32.15% 0.122 265.2)
XYZxyz(4.1128, 3.1195, 15.7115)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C70 #705814
analogous
#145A70 #142C70 #2A1470
triadic
#142C70 #70142C #2C7014
tetradic
#142C70 #70145A #705814 #14702A
square
#142C70 #70145A #705814 #14702A
split-complementary
#142C70 #702A14 #5A7014
monochromatic
#050A1A #0B183C #142C70 #1D40A4 #2755D8

Accessibility & contrast

On white

12.93
#142C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C70
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C70#FFFFFF#000000##FFFFFF
##142C701.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142c70;
/* rgb */ color: rgb(20, 44, 112);
/* oklch */ color: oklch(32.1% 0.122 265.2);
Tailwind
colors: {
  custom: {
    50: '#62649a',
    500: '#142c70',
    950: '#000000',
  },
}
SCSS
$custom: #142c70;
$custom-light: #62649a;
$custom-dark: #000000;
JSON
{
  "hex": "#142c70",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 224.348,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32148,
    "c": 0.12156,
    "h": 265.2
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#142C70
secondary
#A68A39
accent
#BE3BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142C70

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

Preview Lab → · Contrast checker → · Palette generator →

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