#142A53#142A53

#142A53 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.080 H 261.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#142A53
RGBrgb(20, 42, 83)
HSLhsl(219, 61%, 20%)
HSVhsv(219, 76%, 33%)
CMYKcmyk(75.9%, 49.4%, 0%, 67.5%)
CIE-LABlab(17.59, 7.33, -27.59)
CIE-LCHlch(17.59, 28.55, 284.88°)
OKLaboklab(29.2% -0.0117 -0.079)
OKLCHoklch(29.2% 0.08 261.6)
XYZxyz(2.6772, 2.4289, 8.5097)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A53 #533D14
analogous
#144953 #142A53 #1E1453
triadic
#142A53 #53142A #2A5314
tetradic
#142A53 #531449 #533D14 #14531E
square
#142A53 #531449 #533D14 #14531E
split-complementary
#142A53 #531E14 #495314
monochromatic
#060C19 #081122 #142A53 #204384 #2C5CB6

Accessibility & contrast

On white

14.13
#142A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#142A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A53
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A53#FFFFFF#000000##FFFFFF
##142A531.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E55
Deuteranopia (green-blind)
#092852
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142a53;
/* rgb */ color: rgb(20, 42, 83);
/* oklch */ color: oklch(29.2% 0.080 261.6);
Tailwind
colors: {
  custom: {
    50: '#5b6384',
    500: '#142a53',
    950: '#000000',
  },
}
SCSS
$custom: #142a53;
$custom-light: #5b6384;
$custom-dark: #000000;
JSON
{
  "hex": "#142a53",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 83
  },
  "hsl": {
    "h": 219.048,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29198,
    "c": 0.07982,
    "h": 261.6
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#142A53
secondary
#8B6E38
accent
#AC44E4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142A53

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

Preview Lab → · Contrast checker → · Palette generator →

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