#142473#142473

#142473 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.136 H 267.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#142473
RGBrgb(20, 36, 115)
HSLhsl(230, 70%, 26%)
HSVhsv(230, 83%, 45%)
CMYKcmyk(82.6%, 68.7%, 0%, 54.9%)
CIE-LABlab(18.57, 25.08, -47.05)
CIE-LCHlch(18.57, 53.32, 298.06°)
OKLaboklab(30.8% -0.0049 -0.1362)
OKLCHoklch(30.8% 0.136 267.9)
XYZxyz(4.0128, 2.6478, 16.5159)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142473 #736314
analogous
#145473 #142473 #341473
triadic
#142473 #731424 #247314
tetradic
#142473 #731454 #736314 #147334
square
#142473 #731454 #736314 #147334
split-complementary
#142473 #733414 #547314
monochromatic
#05081A #0B143F #142473 #1D34A7 #2846DA

Accessibility & contrast

On white

13.73
#142473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142473
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142473#FFFFFF#000000##FFFFFF
##1424731.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142473;
/* rgb */ color: rgb(20, 36, 115);
/* oklch */ color: oklch(30.8% 0.136 267.9);
Tailwind
colors: {
  custom: {
    50: '#645e9c',
    500: '#142473',
    950: '#000000',
  },
}
SCSS
$custom: #142473;
$custom-light: #645e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#142473",
  "rgb": {
    "r": 20,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 229.895,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30795,
    "c": 0.1363,
    "h": 267.9
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#142473
secondary
#A9963A
accent
#CF3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142473

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

Preview Lab → · Contrast checker → · Palette generator →

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