#142A39#142A39

#142A39 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.040 H 240.1°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#142A39
RGBrgb(20, 42, 57)
HSLhsl(204, 48%, 15%)
HSVhsv(204, 65%, 22%)
CMYKcmyk(64.9%, 26.3%, 0%, 77.6%)
CIE-LABlab(16.00, -3.33, -12.28)
CIE-LCHlch(16.00, 12.72, 254.81°)
OKLaboklab(27.44% -0.0197 -0.0343)
OKLCHoklch(27.44% 0.04 240.1)
XYZxyz(1.8547, 2.0999, 4.1777)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A39 #392314
analogous
#143935 #142A39 #141839
triadic
#142A39 #39142A #2A3914
tetradic
#142A39 #351439 #392314 #183914
square
#142A39 #351439 #392314 #183914
split-complementary
#142A39 #391418 #393514
monochromatic
#081117 #081117 #142A39 #244B66 #346D94

Accessibility & contrast

On white

14.79
#142A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#142A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A39
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A39#FFFFFF#000000##FFFFFF
##142A391.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3A
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142a39;
/* rgb */ color: rgb(20, 42, 57);
/* oklch */ color: oklch(27.4% 0.040 240.1);
Tailwind
colors: {
  custom: {
    50: '#55636f',
    500: '#142a39',
    950: '#000000',
  },
}
SCSS
$custom: #142a39;
$custom-light: #55636f;
$custom-dark: #000000;
JSON
{
  "hex": "#142a39",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 57
  },
  "hsl": {
    "h": 204.324,
    "s": 48.052,
    "l": 15.098
  },
  "oklch": {
    "l": 0.27438,
    "c": 0.03959,
    "h": 240.1
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#142A39
secondary
#714F38
accent
#8750D8
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#030507
muted
#78797A

Preview Lab

Preview with #142A39

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

Preview Lab → · Contrast checker → · Palette generator →

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