#142D5C#142D5C

#142D5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.090 H 261.6°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#142D5C
RGBrgb(20, 45, 92)
HSLhsl(219, 64%, 22%)
HSVhsv(219, 78%, 36%)
CMYKcmyk(78.3%, 51.1%, 0%, 63.9%)
CIE-LABlab(19.22, 8.95, -30.99)
CIE-LCHlch(19.22, 32.26, 286.11°)
OKLaboklab(30.65% -0.0131 -0.0889)
OKLCHoklch(30.65% 0.09 261.6)
XYZxyz(3.1580, 2.7979, 10.4967)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D5C #5C4314
analogous
#14515C #142D5C #1F145C
triadic
#142D5C #5C142D #2D5C14
tetradic
#142D5C #5C1451 #5C4314 #145C1F
square
#142D5C #5C1451 #5C4314 #145C1F
split-complementary
#142D5C #5C1F14 #515C14
monochromatic
#050C19 #09142A #142D5C #1F468E #2A5EC1

Accessibility & contrast

On white

13.46
#142D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D5C
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D5C#FFFFFF#000000##FFFFFF
##142D5C1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325E
Deuteranopia (green-blind)
#022C5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142d5c;
/* rgb */ color: rgb(20, 45, 92);
/* oklch */ color: oklch(30.7% 0.090 261.6);
Tailwind
colors: {
  custom: {
    50: '#5d658a',
    500: '#142d5c',
    950: '#000000',
  },
}
SCSS
$custom: #142d5c;
$custom-light: #5d658a;
$custom-dark: #000000;
JSON
{
  "hex": "#142d5c",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 219.167,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30653,
    "c": 0.08987,
    "h": 261.6
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#142D5C
secondary
#947438
accent
#AD41E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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