#142F63#142F63

#142F63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.098 H 261.9°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#142F63
RGBrgb(20, 47, 99)
HSLhsl(219, 66%, 23%)
HSVhsv(219, 80%, 39%)
CMYKcmyk(79.8%, 52.5%, 0%, 61.2%)
CIE-LABlab(20.37, 10.47, -33.74)
CIE-LCHlch(20.37, 35.32, 287.23°)
OKLaboklab(31.7% -0.0138 -0.0969)
OKLCHoklch(31.7% 0.098 261.9)
XYZxyz(3.5563, 3.0822, 12.2095)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F63 #634814
analogous
#145663 #142F63 #201463
triadic
#142F63 #63142F #2F6314
tetradic
#142F63 #631456 #634814 #146320
square
#142F63 #631456 #634814 #146320
split-complementary
#142F63 #632014 #566314
monochromatic
#050C19 #0A1730 #142F63 #1E4796 #295FC9

Accessibility & contrast

On white

12.99
#142F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F63
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F63#FFFFFF#000000##FFFFFF
##142F631.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113565
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142f63;
/* rgb */ color: rgb(20, 47, 99);
/* oklch */ color: oklch(31.7% 0.098 261.9);
Tailwind
colors: {
  custom: {
    50: '#5e6790',
    500: '#142f63',
    950: '#000000',
  },
}
SCSS
$custom: #142f63;
$custom-light: #5e6790;
$custom-dark: #000000;
JSON
{
  "hex": "#142f63",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 219.494,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31704,
    "c": 0.09793,
    "h": 261.9
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#142F63
secondary
#9A7938
accent
#AF3EE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #142F63

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

Preview Lab → · Contrast checker → · Palette generator →

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