#142F40#142F40

#142F40 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.045 H 238.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#142F40
RGBrgb(20, 47, 64)
HSLhsl(203, 52%, 16%)
HSVhsv(203, 69%, 25%)
CMYKcmyk(68.8%, 26.6%, 0%, 74.9%)
CIE-LABlab(18.15, -4.06, -13.80)
CIE-LCHlch(18.15, 14.38, 253.60°)
OKLaboklab(29.26% -0.0236 -0.0387)
OKLCHoklch(29.26% 0.045 238.6)
XYZxyz(2.2301, 2.5517, 5.2245)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F40 #402514
analogous
#14403B #142F40 #141940
triadic
#142F40 #40142F #2F4014
tetradic
#142F40 #3B1440 #402514 #194014
square
#142F40 #3B1440 #402514 #194014
split-complementary
#142F40 #401419 #403B14
monochromatic
#071117 #071117 #142F40 #23516F #31739D

Accessibility & contrast

On white

13.90
#142F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#142F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F40
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F40#FFFFFF#000000##FFFFFF
##142F401.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#212A40
Tritanopia (blue-blind)
#003335
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142f40;
/* rgb */ color: rgb(20, 47, 64);
/* oklch */ color: oklch(29.3% 0.045 238.6);
Tailwind
colors: {
  custom: {
    50: '#576775',
    500: '#142f40',
    950: '#000000',
  },
}
SCSS
$custom: #142f40;
$custom-light: #576775;
$custom-dark: #000000;
JSON
{
  "hex": "#142f40",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 203.182,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.29257,
    "c": 0.0453,
    "h": 238.6
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#142F40
secondary
#785138
accent
#844CDC
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #142F40

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

Preview Lab → · Contrast checker → · Palette generator →

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