#142A38#142A38

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

Color values

HEX#142A38
RGBrgb(20, 42, 56)
HSLhsl(203, 47%, 15%)
HSVhsv(203, 64%, 22%)
CMYKcmyk(64.3%, 25%, 0%, 78%)
CIE-LABlab(15.95, -3.72, -11.66)
CIE-LCHlch(15.95, 12.24, 252.32°)
OKLaboklab(27.38% -0.0201 -0.0325)
OKLCHoklch(27.38% 0.038 238.3)
XYZxyz(1.8300, 2.0900, 4.0476)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A38 #382214
analogous
#143834 #142A38 #141838
triadic
#142A38 #38142A #2A3814
tetradic
#142A38 #341438 #382214 #183814
square
#142A38 #341438 #382214 #183814
split-complementary
#142A38 #381418 #383414
monochromatic
#081117 #081117 #142A38 #244C65 #346E92

Accessibility & contrast

On white

14.81
#142A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A38
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A38#FFFFFF#000000##FFFFFF
##142A381.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A39
Deuteranopia (green-blind)
#1F2638
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142a38;
/* rgb */ color: rgb(20, 42, 56);
/* oklch */ color: oklch(27.4% 0.038 238.3);
Tailwind
colors: {
  custom: {
    50: '#55636e',
    500: '#142a38',
    950: '#000000',
  },
}
SCSS
$custom: #142a38;
$custom-light: #55636e;
$custom-dark: #000000;
JSON
{
  "hex": "#142a38",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 203.333,
    "s": 47.368,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27382,
    "c": 0.03828,
    "h": 238.3
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#142A38
secondary
#704E38
accent
#8551D7
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#030507
muted
#78797A

Preview Lab

Preview with #142A38

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

Preview Lab → · Contrast checker → · Palette generator →

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