#142C4F#142C4F

#142C4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.071 H 257.9°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#142C4F
RGBrgb(20, 44, 79)
HSLhsl(216, 60%, 19%)
HSVhsv(216, 75%, 31%)
CMYKcmyk(74.7%, 44.3%, 0%, 69%)
CIE-LABlab(17.98, 4.17, -24.27)
CIE-LCHlch(17.98, 24.63, 279.76°)
OKLaboklab(29.41% -0.0148 -0.0692)
OKLCHoklch(29.41% 0.071 257.9)
XYZxyz(2.5999, 2.5143, 7.7439)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C4F #4F3714
analogous
#144A4F #142C4F #1A144F
triadic
#142C4F #4F142C #2C4F14
tetradic
#142C4F #4F144A #4F3714 #144F1A
square
#142C4F #4F144A #4F3714 #144F1A
split-complementary
#142C4F #4F1A14 #4A4F14
monochromatic
#060E18 #08111E #142C4F #204780 #2D62B1

Accessibility & contrast

On white

13.97
#142C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#142C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C4F
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C4F#FFFFFF#000000##FFFFFF
##142C4F1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#13294E
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142c4f;
/* rgb */ color: rgb(20, 44, 79);
/* oklch */ color: oklch(29.4% 0.071 257.9);
Tailwind
colors: {
  custom: {
    50: '#5a6480',
    500: '#142c4f',
    950: '#000000',
  },
}
SCSS
$custom: #142c4f;
$custom-light: #5a6480;
$custom-dark: #000000;
JSON
{
  "hex": "#142c4f",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 79
  },
  "hsl": {
    "h": 215.593,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29411,
    "c": 0.07075,
    "h": 257.9
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#142C4F
secondary
#876738
accent
#A345E3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #142C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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