#142A73#142A73

#142A73 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.129 H 266.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#142A73
RGBrgb(20, 42, 115)
HSLhsl(226, 70%, 26%)
HSVhsv(226, 83%, 45%)
CMYKcmyk(82.6%, 63.5%, 0%, 54.9%)
CIE-LABlab(20.21, 20.82, -44.37)
CIE-LCHlch(20.21, 49.01, 295.14°)
OKLaboklab(32% -0.0086 -0.1283)
OKLCHoklch(32% 0.129 266.2)
XYZxyz(4.2099, 3.0420, 16.5816)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A73 #735D14
analogous
#145A73 #142A73 #2E1473
triadic
#142A73 #73142A #2A7314
tetradic
#142A73 #73145A #735D14 #14732E
square
#142A73 #73145A #735D14 #14732E
split-complementary
#142A73 #732E14 #5A7314
monochromatic
#050A1A #0B173F #142A73 #1D3DA7 #2851DA

Accessibility & contrast

On white

13.06
#142A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A73
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A73#FFFFFF#000000##FFFFFF
##142A731.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142a73;
/* rgb */ color: rgb(20, 42, 115);
/* oklch */ color: oklch(32.0% 0.129 266.2);
Tailwind
colors: {
  custom: {
    50: '#63639c',
    500: '#142a73',
    950: '#000000',
  },
}
SCSS
$custom: #142a73;
$custom-light: #63639c;
$custom-dark: #000000;
JSON
{
  "hex": "#142a73",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 226.105,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32003,
    "c": 0.12859,
    "h": 266.2
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#142A73
secondary
#A98F3A
accent
#C43BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142A73

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

Preview Lab → · Contrast checker → · Palette generator →

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