#142D63#142D63

#142D63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.101 H 263.1°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#142D63
RGBrgb(20, 45, 99)
HSLhsl(221, 66%, 23%)
HSVhsv(221, 80%, 39%)
CMYKcmyk(79.8%, 54.5%, 0%, 61.2%)
CIE-LABlab(19.75, 11.93, -34.75)
CIE-LCHlch(19.75, 36.74, 288.94°)
OKLaboklab(31.23% -0.012 -0.1)
OKLCHoklch(31.23% 0.101 263.1)
XYZxyz(3.4782, 2.9260, 12.1834)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D63 #634A14
analogous
#145463 #142D63 #221463
triadic
#142D63 #63142D #2D6314
tetradic
#142D63 #631454 #634A14 #146322
square
#142D63 #631454 #634A14 #146322
split-complementary
#142D63 #632214 #546314
monochromatic
#050C19 #0A1630 #142D63 #1E4496 #295BC9

Accessibility & contrast

On white

13.25
#142D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D63
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D63#FFFFFF#000000##FFFFFF
##142D631.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3465
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142d63;
/* rgb */ color: rgb(20, 45, 99);
/* oklch */ color: oklch(31.2% 0.101 263.1);
Tailwind
colors: {
  custom: {
    50: '#5f6590',
    500: '#142d63',
    950: '#000000',
  },
}
SCSS
$custom: #142d63;
$custom-light: #5f6590;
$custom-dark: #000000;
JSON
{
  "hex": "#142d63",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 221.013,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31227,
    "c": 0.10068,
    "h": 263.1
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#142D63
secondary
#9A7B38
accent
#B33EE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142D63

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

Preview Lab → · Contrast checker → · Palette generator →

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