#142E59#142E59

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

Color values

HEX#142E59
RGBrgb(20, 46, 89)
HSLhsl(217, 63%, 21%)
HSVhsv(217, 78%, 35%)
CMYKcmyk(77.5%, 48.3%, 0%, 65.1%)
CIE-LABlab(19.32, 6.94, -28.83)
CIE-LCHlch(19.32, 29.65, 283.54°)
OKLaboklab(30.67% -0.0147 -0.0825)
OKLCHoklch(30.67% 0.084 259.9)
XYZxyz(3.0680, 2.8237, 9.8326)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E59 #593F14
analogous
#145159 #142E59 #1D1459
triadic
#142E59 #59142E #2E5914
tetradic
#142E59 #591451 #593F14 #14591D
square
#142E59 #591451 #593F14 #14591D
split-complementary
#142E59 #591D14 #515914
monochromatic
#060D19 #091427 #142E59 #1F488B #2A62BD

Accessibility & contrast

On white

13.42
#142E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#142E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E59
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E59#FFFFFF#000000##FFFFFF
##142E591.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325B
Deuteranopia (green-blind)
#0B2C58
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142e59;
/* rgb */ color: rgb(20, 46, 89);
/* oklch */ color: oklch(30.7% 0.084 259.9);
Tailwind
colors: {
  custom: {
    50: '#5c6688',
    500: '#142e59',
    950: '#000000',
  },
}
SCSS
$custom: #142e59;
$custom-light: #5c6688;
$custom-dark: #000000;
JSON
{
  "hex": "#142e59",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 217.391,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30667,
    "c": 0.08383,
    "h": 259.9
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#142E59
secondary
#916F38
accent
#A841E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142E59

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

Preview Lab → · Contrast checker → · Palette generator →

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