#142A6A#142A6A

#142A6A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.115 H 265.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#142A6A
RGBrgb(20, 42, 106)
HSLhsl(225, 68%, 25%)
HSVhsv(225, 81%, 42%)
CMYKcmyk(81.1%, 60.4%, 0%, 58.4%)
CIE-LABlab(19.41, 17.08, -39.86)
CIE-LCHlch(19.41, 43.36, 293.20°)
OKLaboklab(31.16% -0.0089 -0.115)
OKLCHoklch(31.16% 0.115 265.6)
XYZxyz(3.7171, 2.8448, 13.9861)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A6A #6A5414
analogous
#14556A #142A6A #29146A
triadic
#142A6A #6A142A #2A6A14
tetradic
#142A6A #6A1455 #6A5414 #146A29
square
#142A6A #6A1455 #6A5414 #146A29
split-complementary
#142A6A #6A2914 #556A14
monochromatic
#050A1A #0A1637 #142A6A #1E3E9D #2753D1

Accessibility & contrast

On white

13.38
#142A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A6A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A6A#FFFFFF#000000##FFFFFF
##142A6A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142a6a;
/* rgb */ color: rgb(20, 42, 106);
/* oklch */ color: oklch(31.2% 0.115 265.6);
Tailwind
colors: {
  custom: {
    50: '#616395',
    500: '#142a6a',
    950: '#000000',
  },
}
SCSS
$custom: #142a6a;
$custom-light: #616395;
$custom-dark: #000000;
JSON
{
  "hex": "#142a6a",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 224.651,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31156,
    "c": 0.11539,
    "h": 265.6
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#142A6A
secondary
#A18639
accent
#BE3DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #142A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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