#142D62#142D62

#142D62 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.099 H 263.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#142D62
RGBrgb(20, 45, 98)
HSLhsl(221, 66%, 23%)
HSVhsv(221, 80%, 38%)
CMYKcmyk(79.6%, 54.1%, 0%, 61.6%)
CIE-LABlab(19.67, 11.50, -34.22)
CIE-LCHlch(19.67, 36.10, 288.58°)
OKLaboklab(31.14% -0.0122 -0.0984)
OKLCHoklch(31.14% 0.099 263)
XYZxyz(3.4307, 2.9070, 11.9332)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D62 #624914
analogous
#145462 #142D62 #221462
triadic
#142D62 #62142D #2D6214
tetradic
#142D62 #621454 #624914 #146222
square
#142D62 #621454 #624914 #146222
split-complementary
#142D62 #622214 #546214
monochromatic
#050C19 #0A162F #142D62 #1E4495 #295CC8

Accessibility & contrast

On white

13.28
#142D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D62
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D62#FFFFFF#000000##FFFFFF
##142D621.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3364
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142d62;
/* rgb */ color: rgb(20, 45, 98);
/* oklch */ color: oklch(31.1% 0.099 263.0);
Tailwind
colors: {
  custom: {
    50: '#5e658f',
    500: '#142d62',
    950: '#000000',
  },
}
SCSS
$custom: #142d62;
$custom-light: #5e658f;
$custom-dark: #000000;
JSON
{
  "hex": "#142d62",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 220.769,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31143,
    "c": 0.09915,
    "h": 263
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#142D62
secondary
#997A38
accent
#B23FE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142D62

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

Preview Lab → · Contrast checker → · Palette generator →

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