#142A3F#142A3F

#142A3F is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.8% C 0.048 H 248.9°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#142A3F
RGBrgb(20, 42, 63)
HSLhsl(209, 52%, 16%)
HSVhsv(209, 68%, 25%)
CMYKcmyk(68.3%, 33.3%, 0%, 75.3%)
CIE-LABlab(16.32, -0.97, -15.95)
CIE-LCHlch(16.32, 15.98, 266.50°)
OKLaboklab(27.8% -0.0173 -0.0449)
OKLCHoklch(27.8% 0.048 248.9)
XYZxyz(2.0133, 2.1633, 5.0131)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A3F #3F2914
analogous
#143F3F #142A3F #14153F
triadic
#142A3F #3F142A #2A3F14
tetradic
#142A3F #3F143F #3F2914 #153F14
square
#142A3F #3F143F #3F2914 #153F14
split-complementary
#142A3F #3F1415 #3F3F14
monochromatic
#070F17 #070F17 #142A3F #23496D #31689C

Accessibility & contrast

On white

14.66
#142A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#142A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A3F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A3F#FFFFFF#000000##FFFFFF
##142A3F1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#1B273F
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142a3f;
/* rgb */ color: rgb(20, 42, 63);
/* oklch */ color: oklch(27.8% 0.048 248.9);
Tailwind
colors: {
  custom: {
    50: '#566374',
    500: '#142a3f',
    950: '#000000',
  },
}
SCSS
$custom: #142a3f;
$custom-light: #566374;
$custom-dark: #000000;
JSON
{
  "hex": "#142a3f",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 209.302,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27795,
    "c": 0.04816,
    "h": 248.9
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#142A3F
secondary
#775738
accent
#924DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #142A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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