#142D50#142D50

#142D50 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.071 H 257.2°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#142D50
RGBrgb(20, 45, 80)
HSLhsl(215, 60%, 20%)
HSVhsv(215, 75%, 31%)
CMYKcmyk(75%, 43.7%, 0%, 68.6%)
CIE-LABlab(18.38, 3.87, -24.31)
CIE-LCHlch(18.38, 24.61, 279.04°)
OKLaboklab(29.74% -0.0157 -0.0693)
OKLCHoklch(29.74% 0.071 257.2)
XYZxyz(2.6743, 2.6044, 7.9496)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D50 #503714
analogous
#144B50 #142D50 #191450
triadic
#142D50 #50142D #2D5014
tetradic
#142D50 #50144B #503714 #145019
square
#142D50 #50144B #503714 #145019
split-complementary
#142D50 #501914 #4B5014
monochromatic
#060E18 #08111F #142D50 #204981 #2C64B2

Accessibility & contrast

On white

13.81
#142D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D50
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D50#FFFFFF#000000##FFFFFF
##142D501.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3051
Deuteranopia (green-blind)
#142A4F
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142d50;
/* rgb */ color: rgb(20, 45, 80);
/* oklch */ color: oklch(29.7% 0.071 257.2);
Tailwind
colors: {
  custom: {
    50: '#5a6581',
    500: '#142d50',
    950: '#000000',
  },
}
SCSS
$custom: #142d50;
$custom-light: #5a6581;
$custom-dark: #000000;
JSON
{
  "hex": "#142d50",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 80
  },
  "hsl": {
    "h": 215,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29743,
    "c": 0.07103,
    "h": 257.2
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#142D50
secondary
#886738
accent
#A145E3
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #142D50

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

Preview Lab → · Contrast checker → · Palette generator →

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