#142A54#142A54

#142A54 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.081 H 261.9°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#142A54
RGBrgb(20, 42, 84)
HSLhsl(219, 62%, 20%)
HSVhsv(219, 76%, 33%)
CMYKcmyk(76.2%, 50%, 0%, 67.1%)
CIE-LABlab(17.67, 7.75, -28.15)
CIE-LCHlch(17.67, 29.19, 285.40°)
OKLaboklab(29.28% -0.0115 -0.0806)
OKLCHoklch(29.28% 0.081 261.9)
XYZxyz(2.7161, 2.4445, 8.7145)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A54 #543E14
analogous
#144A54 #142A54 #1E1454
triadic
#142A54 #54142A #2A5414
tetradic
#142A54 #54144A #543E14 #14541E
square
#142A54 #54144A #543E14 #14541E
split-complementary
#142A54 #541E14 #4A5414
monochromatic
#060C19 #081123 #142A54 #204385 #2C5BB7

Accessibility & contrast

On white

14.10
#142A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A54
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A54#FFFFFF#000000##FFFFFF
##142A541.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142a54;
/* rgb */ color: rgb(20, 42, 84);
/* oklch */ color: oklch(29.3% 0.081 261.9);
Tailwind
colors: {
  custom: {
    50: '#5b6384',
    500: '#142a54',
    950: '#000000',
  },
}
SCSS
$custom: #142a54;
$custom-light: #5b6384;
$custom-dark: #000000;
JSON
{
  "hex": "#142a54",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 219.375,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29276,
    "c": 0.08141,
    "h": 261.9
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#142A54
secondary
#8C6F38
accent
#AD43E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142A54

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

Preview Lab → · Contrast checker → · Palette generator →

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