#142C6F#142C6F

#142C6F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.120 H 265.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#142C6F
RGBrgb(20, 44, 111)
HSLhsl(224, 69%, 26%)
HSVhsv(224, 82%, 44%)
CMYKcmyk(82%, 60.4%, 0%, 56.5%)
CIE-LABlab(20.43, 17.72, -41.44)
CIE-LCHlch(20.43, 45.07, 293.15°)
OKLaboklab(32.06% -0.0101 -0.1197)
OKLCHoklch(32.06% 0.12 265.2)
XYZxyz(4.0574, 3.0973, 15.4198)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C6F #6F5714
analogous
#14596F #142C6F #29146F
triadic
#142C6F #6F142C #2C6F14
tetradic
#142C6F #6F1459 #6F5714 #146F29
square
#142C6F #6F1459 #6F5714 #146F29
split-complementary
#142C6F #6F2914 #596F14
monochromatic
#050A1A #0B173B #142C6F #1D41A3 #2755D7

Accessibility & contrast

On white

12.97
#142C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C6F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C6F#FFFFFF#000000##FFFFFF
##142C6F1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142c6f;
/* rgb */ color: rgb(20, 44, 111);
/* oklch */ color: oklch(32.1% 0.120 265.2);
Tailwind
colors: {
  custom: {
    50: '#626499',
    500: '#142c6f',
    950: '#000000',
  },
}
SCSS
$custom: #142c6f;
$custom-light: #626499;
$custom-dark: #000000;
JSON
{
  "hex": "#142c6f",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 224.176,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32056,
    "c": 0.12009,
    "h": 265.2
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#142C6F
secondary
#A68939
accent
#BE3CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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