#142973#142973

#142973 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.130 H 266.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#142973
RGBrgb(20, 41, 115)
HSLhsl(227, 70%, 26%)
HSVhsv(227, 83%, 45%)
CMYKcmyk(82.6%, 64.3%, 0%, 54.9%)
CIE-LABlab(19.93, 21.54, -44.83)
CIE-LCHlch(19.93, 49.74, 295.67°)
OKLaboklab(31.8% -0.0079 -0.1296)
OKLCHoklch(31.8% 0.13 266.5)
XYZxyz(4.1749, 2.9719, 16.5699)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142973 #735E14
analogous
#145973 #142973 #2F1473
triadic
#142973 #731429 #297314
tetradic
#142973 #731459 #735E14 #14732F
square
#142973 #731459 #735E14 #14732F
split-complementary
#142973 #732F14 #597314
monochromatic
#05091A #0B163F #142973 #1D3CA7 #284FDA

Accessibility & contrast

On white

13.17
#142973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142973
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142973#FFFFFF#000000##FFFFFF
##1429731.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142973;
/* rgb */ color: rgb(20, 41, 115);
/* oklch */ color: oklch(31.8% 0.130 266.5);
Tailwind
colors: {
  custom: {
    50: '#63629c',
    500: '#142973',
    950: '#000000',
  },
}
SCSS
$custom: #142973;
$custom-light: #63629c;
$custom-dark: #000000;
JSON
{
  "hex": "#142973",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 226.737,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31795,
    "c": 0.12989,
    "h": 266.5
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#142973
secondary
#A9913A
accent
#C63BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142973

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

Preview Lab → · Contrast checker → · Palette generator →

#142973 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva