#142D6F#142D6F

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

Color values

HEX#142D6F
RGBrgb(20, 45, 111)
HSLhsl(224, 69%, 26%)
HSVhsv(224, 82%, 44%)
CMYKcmyk(82%, 59.5%, 0%, 56.5%)
CIE-LABlab(20.72, 17.00, -40.96)
CIE-LCHlch(20.72, 44.35, 292.54°)
OKLaboklab(32.28% -0.0109 -0.1182)
OKLCHoklch(32.28% 0.119 264.7)
XYZxyz(4.0951, 3.1727, 15.4324)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D6F #6F5614
analogous
#145A6F #142D6F #28146F
triadic
#142D6F #6F142D #2D6F14
tetradic
#142D6F #6F145A #6F5614 #146F28
square
#142D6F #6F145A #6F5614 #146F28
split-complementary
#142D6F #6F2814 #5A6F14
monochromatic
#050B1A #0B183B #142D6F #1D42A3 #2757D7

Accessibility & contrast

On white

12.85
#142D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D6F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D6F#FFFFFF#000000##FFFFFF
##142D6F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142d6f;
/* rgb */ color: rgb(20, 45, 111);
/* oklch */ color: oklch(32.3% 0.119 264.7);
Tailwind
colors: {
  custom: {
    50: '#626599',
    500: '#142d6f',
    950: '#000000',
  },
}
SCSS
$custom: #142d6f;
$custom-light: #626599;
$custom-dark: #000000;
JSON
{
  "hex": "#142d6f",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 223.516,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32276,
    "c": 0.11874,
    "h": 264.7
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#142D6F
secondary
#A68839
accent
#BC3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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