#142A48#142A48

#142A48 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.062 H 256.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#142A48
RGBrgb(20, 42, 72)
HSLhsl(215, 57%, 18%)
HSVhsv(215, 72%, 28%)
CMYKcmyk(72.2%, 41.7%, 0%, 71.8%)
CIE-LABlab(16.86, 2.70, -21.31)
CIE-LCHlch(16.86, 21.48, 277.22°)
OKLaboklab(28.39% -0.0144 -0.0605)
OKLCHoklch(28.39% 0.062 256.7)
XYZxyz(2.2857, 2.2723, 6.4478)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A48 #483214
analogous
#144448 #142A48 #181448
triadic
#142A48 #48142A #2A4814
tetradic
#142A48 #481444 #483214 #144818
square
#142A48 #481444 #483214 #144818
split-complementary
#142A48 #481814 #444814
monochromatic
#070E18 #070E18 #142A48 #214678 #2F62A8

Accessibility & contrast

On white

14.44
#142A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A48
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A48#FFFFFF#000000##FFFFFF
##142A481.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C49
Deuteranopia (green-blind)
#152747
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142a48;
/* rgb */ color: rgb(20, 42, 72);
/* oklch */ color: oklch(28.4% 0.062 256.7);
Tailwind
colors: {
  custom: {
    50: '#58637b',
    500: '#142a48',
    950: '#000000',
  },
}
SCSS
$custom: #142a48;
$custom-light: #58637b;
$custom-dark: #000000;
JSON
{
  "hex": "#142a48",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 72
  },
  "hsl": {
    "h": 214.615,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28388,
    "c": 0.06221,
    "h": 256.7
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#142A48
secondary
#806138
accent
#A048E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #142A48

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

Preview Lab → · Contrast checker → · Palette generator →

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