#142F6A#142F6A

#142F6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.109 H 263.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#142F6A
RGBrgb(20, 47, 106)
HSLhsl(221, 68%, 25%)
HSVhsv(221, 81%, 42%)
CMYKcmyk(81.1%, 55.7%, 0%, 58.4%)
CIE-LABlab(20.91, 13.44, -37.42)
CIE-LCHlch(20.91, 39.76, 289.75°)
OKLaboklab(32.29% -0.0129 -0.1078)
OKLCHoklch(32.29% 0.109 263.2)
XYZxyz(3.9056, 3.2219, 14.0489)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F6A #6A4F14
analogous
#145A6A #142F6A #24146A
triadic
#142F6A #6A142F #2F6A14
tetradic
#142F6A #6A145A #6A4F14 #146A24
square
#142F6A #6A145A #6A4F14 #146A24
split-complementary
#142F6A #6A2414 #5A6A14
monochromatic
#050B1A #0A1837 #142F6A #1E469D #275DD1

Accessibility & contrast

On white

12.77
#142F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#142F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F6A
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F6A#FFFFFF#000000##FFFFFF
##142F6A1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05366C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142f6a;
/* rgb */ color: rgb(20, 47, 106);
/* oklch */ color: oklch(32.3% 0.109 263.2);
Tailwind
colors: {
  custom: {
    50: '#606795',
    500: '#142f6a',
    950: '#000000',
  },
}
SCSS
$custom: #142f6a;
$custom-light: #606795;
$custom-dark: #000000;
JSON
{
  "hex": "#142f6a",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 221.163,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32289,
    "c": 0.10857,
    "h": 263.2
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#142F6A
secondary
#A18039
accent
#B43DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #142F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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