#142E6A#142E6A

#142E6A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.110 H 263.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#142E6A
RGBrgb(20, 46, 106)
HSLhsl(222, 68%, 25%)
HSVhsv(222, 81%, 42%)
CMYKcmyk(81.1%, 56.6%, 0%, 58.4%)
CIE-LABlab(20.61, 14.16, -37.92)
CIE-LCHlch(20.61, 40.47, 290.49°)
OKLaboklab(32.06% -0.0121 -0.1093)
OKLCHoklch(32.06% 0.11 263.7)
XYZxyz(3.8661, 3.1429, 14.0358)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E6A #6A5014
analogous
#14596A #142E6A #25146A
triadic
#142E6A #6A142E #2E6A14
tetradic
#142E6A #6A1459 #6A5014 #146A25
square
#142E6A #6A1459 #6A5014 #146A25
split-complementary
#142E6A #6A2514 #596A14
monochromatic
#050B1A #0A1837 #142E6A #1E449D #275BD1

Accessibility & contrast

On white

12.89
#142E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142E6A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E6A#FFFFFF#000000##FFFFFF
##142E6A1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142e6a;
/* rgb */ color: rgb(20, 46, 106);
/* oklch */ color: oklch(32.1% 0.110 263.7);
Tailwind
colors: {
  custom: {
    50: '#606695',
    500: '#142e6a',
    950: '#000000',
  },
}
SCSS
$custom: #142e6a;
$custom-light: #606695;
$custom-dark: #000000;
JSON
{
  "hex": "#142e6a",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 221.86,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.10994,
    "h": 263.7
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#142E6A
secondary
#A18139
accent
#B63DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #142E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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