#142A47#142A47

#142A47 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.061 H 256.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#142A47
RGBrgb(20, 42, 71)
HSLhsl(214, 56%, 18%)
HSVhsv(214, 72%, 28%)
CMYKcmyk(71.8%, 40.8%, 0%, 72.2%)
CIE-LABlab(16.79, 2.29, -20.72)
CIE-LCHlch(16.79, 20.85, 276.30°)
OKLaboklab(28.32% -0.0147 -0.0588)
OKLCHoklch(28.32% 0.061 256)
XYZxyz(2.2534, 2.2594, 6.2774)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A47 #473114
analogous
#144347 #142A47 #181447
triadic
#142A47 #47142A #2A4714
tetradic
#142A47 #471443 #473114 #144718
square
#142A47 #471443 #473114 #144718
split-complementary
#142A47 #471814 #434714
monochromatic
#070E18 #070E18 #142A47 #214677 #2F62A6

Accessibility & contrast

On white

14.46
#142A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#142A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A47
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A47#FFFFFF#000000##FFFFFF
##142A471.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C48
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142a47;
/* rgb */ color: rgb(20, 42, 71);
/* oklch */ color: oklch(28.3% 0.061 256.0);
Tailwind
colors: {
  custom: {
    50: '#58637a',
    500: '#142a47',
    950: '#000000',
  },
}
SCSS
$custom: #142a47;
$custom-light: #58637a;
$custom-dark: #000000;
JSON
{
  "hex": "#142a47",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 214.118,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28319,
    "c": 0.06062,
    "h": 256
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#142A47
secondary
#7F6038
accent
#9E48DF
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #142A47

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

Preview Lab → · Contrast checker → · Palette generator →

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