#142373#142373

#142373 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.138 H 268.2°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#142373
RGBrgb(20, 35, 115)
HSLhsl(231, 70%, 26%)
HSVhsv(231, 83%, 45%)
CMYKcmyk(82.6%, 69.6%, 0%, 54.9%)
CIE-LABlab(18.31, 25.77, -47.48)
CIE-LCHlch(18.31, 54.03, 298.49°)
OKLaboklab(30.6% -0.0043 -0.1375)
OKLCHoklch(30.6% 0.138 268.2)
XYZxyz(3.9830, 2.5881, 16.5060)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142373 #736414
analogous
#145373 #142373 #351473
triadic
#142373 #731423 #237314
tetradic
#142373 #731453 #736414 #147335
square
#142373 #731453 #736414 #147335
split-complementary
#142373 #733514 #537314
monochromatic
#05081A #0B133F #142373 #1D33A7 #2844DA

Accessibility & contrast

On white

13.84
#142373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142373
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142373#FFFFFF#000000##FFFFFF
##1423731.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003175
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142373;
/* rgb */ color: rgb(20, 35, 115);
/* oklch */ color: oklch(30.6% 0.138 268.2);
Tailwind
colors: {
  custom: {
    50: '#645e9c',
    500: '#142373',
    950: '#000000',
  },
}
SCSS
$custom: #142373;
$custom-light: #645e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#142373",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 230.526,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30603,
    "c": 0.13755,
    "h": 268.2
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#142373
secondary
#A9983A
accent
#D13BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142373

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

Preview Lab → · Contrast checker → · Palette generator →

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