#142A31#142A31

#142A31 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.031 H 220.6°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#142A31
RGBrgb(20, 42, 49)
HSLhsl(194, 42%, 14%)
HSVhsv(194, 59%, 19%)
CMYKcmyk(59.2%, 14.3%, 0%, 80.8%)
CIE-LABlab(15.62, -6.31, -7.25)
CIE-LCHlch(15.62, 9.61, 228.95°)
OKLaboklab(27.01% -0.0234 -0.02)
OKLCHoklch(27.01% 0.031 220.6)
XYZxyz(1.6706, 2.0263, 3.2082)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A31 #311B14
analogous
#143129 #142A31 #141B31
triadic
#142A31 #31142A #2A3114
tetradic
#142A31 #291431 #311B14 #1B3114
square
#142A31 #291431 #311B14 #1B3114
split-complementary
#142A31 #31141B #312914
monochromatic
#091316 #091316 #142A31 #264F5C #377588

Accessibility & contrast

On white

14.94
#142A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#142A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A31
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A31#FFFFFF#000000##FFFFFF
##142A311.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262931
Deuteranopia (green-blind)
#212631
Tritanopia (blue-blind)
#052C2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142a31;
/* rgb */ color: rgb(20, 42, 49);
/* oklch */ color: oklch(27.0% 0.031 220.6);
Tailwind
colors: {
  custom: {
    50: '#546369',
    500: '#142a31',
    950: '#000000',
  },
}
SCSS
$custom: #142a31;
$custom-light: #546369;
$custom-dark: #000000;
JSON
{
  "hex": "#142a31",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 194.483,
    "s": 42.029,
    "l": 13.529
  },
  "oklch": {
    "l": 0.27012,
    "c": 0.03079,
    "h": 220.6
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#142A31
secondary
#684439
accent
#7456D2
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#030506
muted
#78797A

Preview Lab

Preview with #142A31

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

Preview Lab → · Contrast checker → · Palette generator →

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