#142A45#142A45

#142A45 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.2% C 0.057 H 254.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#142A45
RGBrgb(20, 42, 69)
HSLhsl(213, 55%, 17%)
HSVhsv(213, 71%, 27%)
CMYKcmyk(71%, 39.1%, 0%, 72.9%)
CIE-LABlab(16.67, 1.46, -19.54)
CIE-LCHlch(16.67, 19.60, 274.27°)
OKLaboklab(28.18% -0.0153 -0.0554)
OKLCHoklch(28.18% 0.057 254.6)
XYZxyz(2.1902, 2.2341, 5.9449)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A45 #452F14
analogous
#144345 #142A45 #161445
triadic
#142A45 #45142A #2A4514
tetradic
#142A45 #451443 #452F14 #144516
square
#142A45 #451443 #452F14 #144516
split-complementary
#142A45 #451614 #434514
monochromatic
#070E18 #070E18 #142A45 #224774 #3064A4

Accessibility & contrast

On white

14.51
#142A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A45
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A45#FFFFFF#000000##FFFFFF
##142A451.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C46
Deuteranopia (green-blind)
#182744
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142a45;
/* rgb */ color: rgb(20, 42, 69);
/* oklch */ color: oklch(28.2% 0.057 254.6);
Tailwind
colors: {
  custom: {
    50: '#576379',
    500: '#142a45',
    950: '#000000',
  },
}
SCSS
$custom: #142a45;
$custom-light: #576379;
$custom-dark: #000000;
JSON
{
  "hex": "#142a45",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 213.061,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28183,
    "c": 0.05745,
    "h": 254.6
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#142A45
secondary
#7D5E38
accent
#9C49DE
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #142A45

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

Preview Lab → · Contrast checker → · Palette generator →

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