#142A4A#142A4A

#142A4A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.065 H 257.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#142A4A
RGBrgb(20, 42, 74)
HSLhsl(216, 57%, 18%)
HSVhsv(216, 73%, 29%)
CMYKcmyk(73%, 43.2%, 0%, 71%)
CIE-LABlab(16.98, 3.53, -22.47)
CIE-LCHlch(16.98, 22.75, 278.94°)
OKLaboklab(28.53% -0.0138 -0.0639)
OKLCHoklch(28.53% 0.065 257.8)
XYZxyz(2.3520, 2.2988, 6.7970)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A4A #4A3414
analogous
#14454A #142A4A #19144A
triadic
#142A4A #4A142A #2A4A14
tetradic
#142A4A #4A1445 #4A3414 #144A19
square
#142A4A #4A1445 #4A3414 #144A19
split-complementary
#142A4A #4A1914 #454A14
monochromatic
#070E18 #070F1A #142A4A #21457A #2E61AA

Accessibility & contrast

On white

14.39
#142A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#142A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A4A
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A4A#FFFFFF#000000##FFFFFF
##142A4A1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4B
Deuteranopia (green-blind)
#142849
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142a4a;
/* rgb */ color: rgb(20, 42, 74);
/* oklch */ color: oklch(28.5% 0.065 257.8);
Tailwind
colors: {
  custom: {
    50: '#58637d',
    500: '#142a4a',
    950: '#000000',
  },
}
SCSS
$custom: #142a4a;
$custom-light: #58637d;
$custom-dark: #000000;
JSON
{
  "hex": "#142a4a",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 215.556,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28528,
    "c": 0.06541,
    "h": 257.8
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#142A4A
secondary
#826438
accent
#A247E1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #142A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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