#142F51#142F51

#142F51 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.070 H 255.4°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#142F51
RGBrgb(20, 47, 81)
HSLhsl(213, 60%, 20%)
HSVhsv(213, 75%, 32%)
CMYKcmyk(75.3%, 42%, 0%, 68.2%)
CIE-LABlab(19.12, 2.85, -23.81)
CIE-LCHlch(19.12, 23.98, 276.82°)
OKLaboklab(30.34% -0.0177 -0.0678)
OKLCHoklch(30.34% 0.07 255.4)
XYZxyz(2.7897, 2.7755, 8.1717)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F51 #513614
analogous
#144D51 #142F51 #181451
triadic
#142F51 #51142F #2F5114
tetradic
#142F51 #51144D #513614 #145118
square
#142F51 #51144D #513614 #145118
split-complementary
#142F51 #511814 #4D5114
monochromatic
#060E19 #081320 #142F51 #204B82 #2C68B3

Accessibility & contrast

On white

13.50
#142F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#142F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F51
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F51#FFFFFF#000000##FFFFFF
##142F511.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203252
Deuteranopia (green-blind)
#162C50
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142f51;
/* rgb */ color: rgb(20, 47, 81);
/* oklch */ color: oklch(30.3% 0.070 255.4);
Tailwind
colors: {
  custom: {
    50: '#5a6782',
    500: '#142f51',
    950: '#000000',
  },
}
SCSS
$custom: #142f51;
$custom-light: #5a6782;
$custom-dark: #000000;
JSON
{
  "hex": "#142f51",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 213.443,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30338,
    "c": 0.07005,
    "h": 255.4
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#142F51
secondary
#896538
accent
#9D44E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #142F51

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

Preview Lab → · Contrast checker → · Palette generator →

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