#142D5A#142D5A

#142D5A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.087 H 261.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#142D5A
RGBrgb(20, 45, 90)
HSLhsl(219, 64%, 22%)
HSVhsv(219, 78%, 35%)
CMYKcmyk(77.8%, 50%, 0%, 64.7%)
CIE-LABlab(19.07, 8.10, -29.90)
CIE-LCHlch(19.07, 30.98, 285.16°)
OKLaboklab(30.5% -0.0134 -0.0857)
OKLCHoklch(30.5% 0.087 261.1)
XYZxyz(3.0717, 2.7633, 10.0424)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D5A #5A4114
analogous
#14505A #142D5A #1E145A
triadic
#142D5A #5A142D #2D5A14
tetradic
#142D5A #5A1450 #5A4114 #145A1E
square
#142D5A #5A1450 #5A4114 #145A1E
split-complementary
#142D5A #5A1E14 #505A14
monochromatic
#060D19 #091428 #142D5A #1F468C #2A5FBE

Accessibility & contrast

On white

13.52
#142D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D5A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D5A#FFFFFF#000000##FFFFFF
##142D5A1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325C
Deuteranopia (green-blind)
#062B59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142d5a;
/* rgb */ color: rgb(20, 45, 90);
/* oklch */ color: oklch(30.5% 0.087 261.1);
Tailwind
colors: {
  custom: {
    50: '#5c6589',
    500: '#142d5a',
    950: '#000000',
  },
}
SCSS
$custom: #142d5a;
$custom-light: #5c6589;
$custom-dark: #000000;
JSON
{
  "hex": "#142d5a",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 218.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30495,
    "c": 0.08674,
    "h": 261.1
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#142D5A
secondary
#927238
accent
#AC41E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #142D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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