#142F52#142F52

#142F52 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.072 H 255.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#142F52
RGBrgb(20, 47, 82)
HSLhsl(214, 61%, 20%)
HSVhsv(214, 76%, 32%)
CMYKcmyk(75.6%, 42.7%, 0%, 67.8%)
CIE-LABlab(19.19, 3.26, -24.38)
CIE-LCHlch(19.19, 24.59, 277.62°)
OKLaboklab(30.41% -0.0174 -0.0694)
OKLCHoklch(30.41% 0.072 255.9)
XYZxyz(2.8274, 2.7907, 8.3706)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F52 #523714
analogous
#144E52 #142F52 #181452
triadic
#142F52 #52142F #2F5214
tetradic
#142F52 #52144E #523714 #145218
square
#142F52 #52144E #523714 #145218
split-complementary
#142F52 #521814 #4E5214
monochromatic
#060E19 #081321 #142F52 #204B83 #2C67B4

Accessibility & contrast

On white

13.48
#142F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142F52
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F52#FFFFFF#000000##FFFFFF
##142F521.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3253
Deuteranopia (green-blind)
#162C51
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142f52;
/* rgb */ color: rgb(20, 47, 82);
/* oklch */ color: oklch(30.4% 0.072 255.9);
Tailwind
colors: {
  custom: {
    50: '#5a6783',
    500: '#142f52',
    950: '#000000',
  },
}
SCSS
$custom: #142f52;
$custom-light: #5a6783;
$custom-dark: #000000;
JSON
{
  "hex": "#142f52",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 213.871,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30408,
    "c": 0.07159,
    "h": 255.9
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#142F52
secondary
#8A6638
accent
#9E44E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #142F52

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

Preview Lab → · Contrast checker → · Palette generator →

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