#142F3F#142F3F

#142F3F is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.044 H 236.9°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#142F3F
RGBrgb(20, 47, 63)
HSLhsl(202, 52%, 16%)
HSVhsv(202, 68%, 25%)
CMYKcmyk(68.3%, 25.4%, 0%, 75.3%)
CIE-LABlab(18.10, -4.45, -13.19)
CIE-LCHlch(18.10, 13.92, 251.36°)
OKLaboklab(29.2% -0.024 -0.0369)
OKLCHoklch(29.2% 0.044 236.9)
XYZxyz(2.2019, 2.5404, 5.0760)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F3F #3F2414
analogous
#143F3A #142F3F #141A3F
triadic
#142F3F #3F142F #2F3F14
tetradic
#142F3F #3A143F #3F2414 #1A3F14
square
#142F3F #3A143F #3F2414 #1A3F14
split-complementary
#142F3F #3F141A #3F3A14
monochromatic
#071117 #071117 #142F3F #23526D #31749C

Accessibility & contrast

On white

13.92
#142F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142F3F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F3F#FFFFFF#000000##FFFFFF
##142F3F1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F40
Deuteranopia (green-blind)
#222A3F
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142f3f;
/* rgb */ color: rgb(20, 47, 63);
/* oklch */ color: oklch(29.2% 0.044 236.9);
Tailwind
colors: {
  custom: {
    50: '#566774',
    500: '#142f3f',
    950: '#000000',
  },
}
SCSS
$custom: #142f3f;
$custom-light: #566774;
$custom-dark: #000000;
JSON
{
  "hex": "#142f3f",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 202.326,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.292,
    "c": 0.04404,
    "h": 236.9
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#142F3F
secondary
#774F38
accent
#824DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #142F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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