#142D73#142D73

#142D73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.6% C 0.125 H 265.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#142D73
RGBrgb(20, 45, 115)
HSLhsl(224, 70%, 26%)
HSVhsv(224, 83%, 45%)
CMYKcmyk(82.6%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.07, 18.67, -42.97)
CIE-LCHlch(21.07, 46.85, 293.48°)
OKLaboklab(32.64% -0.0107 -0.1241)
OKLCHoklch(32.64% 0.125 265.1)
XYZxyz(4.3203, 3.2628, 16.6184)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D73 #735A14
analogous
#145D73 #142D73 #2B1473
triadic
#142D73 #73142D #2D7314
tetradic
#142D73 #73145D #735A14 #14732B
square
#142D73 #73145D #735A14 #14732B
split-complementary
#142D73 #732B14 #5D7314
monochromatic
#050A1A #0B193F #142D73 #1D41A7 #2857DA

Accessibility & contrast

On white

12.71
#142D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#142D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D73
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D73#FFFFFF#000000##FFFFFF
##142D731.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142d73;
/* rgb */ color: rgb(20, 45, 115);
/* oklch */ color: oklch(32.6% 0.125 265.1);
Tailwind
colors: {
  custom: {
    50: '#63659c',
    500: '#142d73',
    950: '#000000',
  },
}
SCSS
$custom: #142d73;
$custom-light: #63659c;
$custom-dark: #000000;
JSON
{
  "hex": "#142d73",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 224.211,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32643,
    "c": 0.12461,
    "h": 265.1
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#142D73
secondary
#A98C3A
accent
#BE3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142D73

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

Preview Lab → · Contrast checker → · Palette generator →

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