#142C50#142C50

#142C50 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.072 H 258.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#142C50
RGBrgb(20, 44, 80)
HSLhsl(216, 60%, 20%)
HSVhsv(216, 75%, 31%)
CMYKcmyk(75%, 45%, 0%, 68.6%)
CIE-LABlab(18.05, 4.59, -24.84)
CIE-LCHlch(18.05, 25.26, 280.48°)
OKLaboklab(29.48% -0.0146 -0.0708)
OKLCHoklch(29.48% 0.072 258.4)
XYZxyz(2.6366, 2.5290, 7.9371)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C50 #503814
analogous
#144A50 #142C50 #1A1450
triadic
#142C50 #50142C #2C5014
tetradic
#142C50 #50144A #503814 #14501A
square
#142C50 #50144A #503814 #14501A
split-complementary
#142C50 #501A14 #4A5014
monochromatic
#060D18 #08111F #142C50 #204781 #2C62B2

Accessibility & contrast

On white

13.95
#142C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#142C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C50
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C50#FFFFFF#000000##FFFFFF
##142C501.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F51
Deuteranopia (green-blind)
#122A4F
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142c50;
/* rgb */ color: rgb(20, 44, 80);
/* oklch */ color: oklch(29.5% 0.072 258.4);
Tailwind
colors: {
  custom: {
    50: '#5a6481',
    500: '#142c50',
    950: '#000000',
  },
}
SCSS
$custom: #142c50;
$custom-light: #5a6481;
$custom-dark: #000000;
JSON
{
  "hex": "#142c50",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 80
  },
  "hsl": {
    "h": 216,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29483,
    "c": 0.07233,
    "h": 258.4
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#142C50
secondary
#886838
accent
#A445E3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #142C50

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

Preview Lab → · Contrast checker → · Palette generator →

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