#142A40#142A40

#142A40 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.050 H 250.0°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#142A40
RGBrgb(20, 42, 64)
HSLhsl(210, 52%, 16%)
HSVhsv(210, 69%, 25%)
CMYKcmyk(68.8%, 34.4%, 0%, 74.9%)
CIE-LABlab(16.38, -0.57, -16.56)
CIE-LCHlch(16.38, 16.57, 268.02°)
OKLaboklab(27.86% -0.017 -0.0467)
OKLCHoklch(27.86% 0.05 250)
XYZxyz(2.0415, 2.1746, 5.1617)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A40 #402A14
analogous
#144040 #142A40 #141440
triadic
#142A40 #40142A #2A4014
tetradic
#142A40 #401440 #402A14 #144014
square
#142A40 #401440 #402A14 #144014
split-complementary
#142A40 #401414 #404014
monochromatic
#070F17 #070F17 #142A40 #23496F #31679D

Accessibility & contrast

On white

14.63
#142A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A40
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A40#FFFFFF#000000##FFFFFF
##142A401.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#1B2740
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142a40;
/* rgb */ color: rgb(20, 42, 64);
/* oklch */ color: oklch(27.9% 0.050 250.0);
Tailwind
colors: {
  custom: {
    50: '#566375',
    500: '#142a40',
    950: '#000000',
  },
}
SCSS
$custom: #142a40;
$custom-light: #566375;
$custom-dark: #000000;
JSON
{
  "hex": "#142a40",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 210,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27858,
    "c": 0.04967,
    "h": 250
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#142A40
secondary
#785838
accent
#944CDC
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #142A40

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

Preview Lab → · Contrast checker → · Palette generator →

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