#142E5A#142E5A

#142E5A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.085 H 260.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#142E5A
RGBrgb(20, 46, 90)
HSLhsl(218, 64%, 22%)
HSVhsv(218, 78%, 35%)
CMYKcmyk(77.8%, 48.9%, 0%, 64.7%)
CIE-LABlab(19.39, 7.37, -29.38)
CIE-LCHlch(19.39, 30.29, 284.08°)
OKLaboklab(30.74% -0.0145 -0.0841)
OKLCHoklch(30.74% 0.085 260.2)
XYZxyz(3.1103, 2.8406, 10.0552)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E5A #5A4014
analogous
#14515A #142E5A #1D145A
triadic
#142E5A #5A142E #2E5A14
tetradic
#142E5A #5A1451 #5A4014 #145A1D
square
#142E5A #5A1451 #5A4014 #145A1D
split-complementary
#142E5A #5A1D14 #515A14
monochromatic
#060D19 #091428 #142E5A #1F488C #2A61BE

Accessibility & contrast

On white

13.39
#142E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142E5A
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E5A#FFFFFF#000000##FFFFFF
##142E5A1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325C
Deuteranopia (green-blind)
#092C59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142e5a;
/* rgb */ color: rgb(20, 46, 90);
/* oklch */ color: oklch(30.7% 0.085 260.2);
Tailwind
colors: {
  custom: {
    50: '#5c6689',
    500: '#142e5a',
    950: '#000000',
  },
}
SCSS
$custom: #142e5a;
$custom-light: #5c6689;
$custom-dark: #000000;
JSON
{
  "hex": "#142e5a",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 217.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30744,
    "c": 0.08539,
    "h": 260.2
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#142E5A
secondary
#927038
accent
#A941E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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