#142A42#142A42

#142A42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.053 H 252.0°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#142A42
RGBrgb(20, 42, 66)
HSLhsl(211, 53%, 17%)
HSVhsv(211, 70%, 26%)
CMYKcmyk(69.7%, 36.4%, 0%, 74.1%)
CIE-LABlab(16.49, 0.24, -17.76)
CIE-LCHlch(16.49, 17.76, 270.76°)
OKLaboklab(27.99% -0.0163 -0.0502)
OKLCHoklch(27.99% 0.053 252)
XYZxyz(2.0995, 2.1978, 5.4668)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A42 #422C14
analogous
#144142 #142A42 #151442
triadic
#142A42 #42142A #2A4214
tetradic
#142A42 #421441 #422C14 #144215
square
#142A42 #421441 #422C14 #144215
split-complementary
#142A42 #421514 #414214
monochromatic
#070F17 #070F17 #142A42 #224871 #3066A0

Accessibility & contrast

On white

14.59
#142A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A42
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A42#FFFFFF#000000##FFFFFF
##142A421.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#1A2742
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142a42;
/* rgb */ color: rgb(20, 42, 66);
/* oklch */ color: oklch(28.0% 0.053 252.0);
Tailwind
colors: {
  custom: {
    50: '#576376',
    500: '#142a42',
    950: '#000000',
  },
}
SCSS
$custom: #142a42;
$custom-light: #576376;
$custom-dark: #000000;
JSON
{
  "hex": "#142a42",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 211.304,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27985,
    "c": 0.05275,
    "h": 252
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#142A42
secondary
#7A5A38
accent
#974BDD
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #142A42

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

Preview Lab → · Contrast checker → · Palette generator →

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