#142A49#142A49

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

Color values

HEX#142A49
RGBrgb(20, 42, 73)
HSLhsl(215, 57%, 18%)
HSVhsv(215, 73%, 29%)
CMYKcmyk(72.6%, 42.5%, 0%, 71.4%)
CIE-LABlab(16.92, 3.12, -21.89)
CIE-LCHlch(16.92, 22.11, 278.10°)
OKLaboklab(28.46% -0.0141 -0.0622)
OKLCHoklch(28.46% 0.064 257.3)
XYZxyz(2.3186, 2.2855, 6.6210)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A49 #493314
analogous
#144449 #142A49 #181449
triadic
#142A49 #49142A #2A4914
tetradic
#142A49 #491444 #493314 #144918
square
#142A49 #491444 #493314 #144918
split-complementary
#142A49 #491814 #444914
monochromatic
#070E18 #070E19 #142A49 #214679 #2E61A9

Accessibility & contrast

On white

14.41
#142A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A49
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A49#FFFFFF#000000##FFFFFF
##142A491.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142a49;
/* rgb */ color: rgb(20, 42, 73);
/* oklch */ color: oklch(28.5% 0.064 257.3);
Tailwind
colors: {
  custom: {
    50: '#58637c',
    500: '#142a49',
    950: '#000000',
  },
}
SCSS
$custom: #142a49;
$custom-light: #58637c;
$custom-dark: #000000;
JSON
{
  "hex": "#142a49",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 73
  },
  "hsl": {
    "h": 215.094,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28458,
    "c": 0.06381,
    "h": 257.3
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#142A49
secondary
#816338
accent
#A148E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #142A49

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

Preview Lab → · Contrast checker → · Palette generator →

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