#142F67#142F67

#142F67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.104 H 262.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#142F67
RGBrgb(20, 47, 103)
HSLhsl(220, 67%, 24%)
HSVhsv(220, 81%, 40%)
CMYKcmyk(80.6%, 54.4%, 0%, 59.6%)
CIE-LABlab(20.68, 12.17, -35.85)
CIE-LCHlch(20.68, 37.86, 288.74°)
OKLaboklab(32.04% -0.0133 -0.1032)
OKLCHoklch(32.04% 0.104 262.7)
XYZxyz(3.7523, 3.1606, 13.2416)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F67 #674C14
analogous
#145967 #142F67 #231467
triadic
#142F67 #67142F #2F6714
tetradic
#142F67 #671459 #674C14 #146723
square
#142F67 #671459 #674C14 #146723
split-complementary
#142F67 #672314 #596714
monochromatic
#050C1A #0A1834 #142F67 #1E469A #285ECD

Accessibility & contrast

On white

12.87
#142F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#142F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F67
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F67#FFFFFF#000000##FFFFFF
##142F671.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3669
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142f67;
/* rgb */ color: rgb(20, 47, 103);
/* oklch */ color: oklch(32.0% 0.104 262.7);
Tailwind
colors: {
  custom: {
    50: '#606793',
    500: '#142f67',
    950: '#000000',
  },
}
SCSS
$custom: #142f67;
$custom-light: #606793;
$custom-dark: #000000;
JSON
{
  "hex": "#142f67",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 220.482,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32035,
    "c": 0.10403,
    "h": 262.7
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#142F67
secondary
#9E7D39
accent
#B23DEA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #142F67

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

Preview Lab → · Contrast checker → · Palette generator →

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