#142F62#142F62

#142F62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.096 H 261.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#142F62
RGBrgb(20, 47, 98)
HSLhsl(219, 66%, 23%)
HSVhsv(219, 80%, 38%)
CMYKcmyk(79.6%, 52%, 0%, 61.6%)
CIE-LABlab(20.30, 10.04, -33.20)
CIE-LCHlch(20.30, 34.69, 286.83°)
OKLaboklab(31.62% -0.014 -0.0954)
OKLCHoklch(31.62% 0.096 261.6)
XYZxyz(3.5088, 3.0632, 11.9592)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F62 #624714
analogous
#145662 #142F62 #201462
triadic
#142F62 #62142F #2F6214
tetradic
#142F62 #621456 #624714 #146220
square
#142F62 #621456 #624714 #146220
split-complementary
#142F62 #622014 #566214
monochromatic
#050C19 #0A172F #142F62 #1E4795 #2960C8

Accessibility & contrast

On white

13.02
#142F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F62
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F62#FFFFFF#000000##FFFFFF
##142F621.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123564
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142f62;
/* rgb */ color: rgb(20, 47, 98);
/* oklch */ color: oklch(31.6% 0.096 261.6);
Tailwind
colors: {
  custom: {
    50: '#5e678f',
    500: '#142f62',
    950: '#000000',
  },
}
SCSS
$custom: #142f62;
$custom-light: #5e678f;
$custom-dark: #000000;
JSON
{
  "hex": "#142f62",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 219.231,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31623,
    "c": 0.0964,
    "h": 261.6
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#142F62
secondary
#997838
accent
#AE3FE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #142F62

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

Preview Lab → · Contrast checker → · Palette generator →

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