#142C59#142C59

#142C59 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.087 H 261.6°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#142C59
RGBrgb(20, 44, 89)
HSLhsl(219, 63%, 21%)
HSVhsv(219, 78%, 35%)
CMYKcmyk(77.5%, 50.6%, 0%, 65.1%)
CIE-LABlab(18.68, 8.41, -29.87)
CIE-LCHlch(18.68, 31.03, 285.72°)
OKLaboklab(30.17% -0.0126 -0.0856)
OKLCHoklch(30.17% 0.087 261.6)
XYZxyz(2.9917, 2.6710, 9.8071)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C59 #594114
analogous
#144F59 #142C59 #1F1459
triadic
#142C59 #59142C #2C5914
tetradic
#142C59 #59144F #594114 #14591F
square
#142C59 #59144F #594114 #14591F
split-complementary
#142C59 #591F14 #4F5914
monochromatic
#060C19 #091327 #142C59 #1F458B #2A5DBD

Accessibility & contrast

On white

13.69
#142C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C59
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C59#FFFFFF#000000##FFFFFF
##142C591.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14315B
Deuteranopia (green-blind)
#052A58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142c59;
/* rgb */ color: rgb(20, 44, 89);
/* oklch */ color: oklch(30.2% 0.087 261.6);
Tailwind
colors: {
  custom: {
    50: '#5c6488',
    500: '#142c59',
    950: '#000000',
  },
}
SCSS
$custom: #142c59;
$custom-light: #5c6488;
$custom-dark: #000000;
JSON
{
  "hex": "#142c59",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 89
  },
  "hsl": {
    "h": 219.13,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30168,
    "c": 0.08655,
    "h": 261.6
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#142C59
secondary
#917238
accent
#AD41E6
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #142C59

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

Preview Lab → · Contrast checker → · Palette generator →

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