#142F59#142F59

#142F59 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.082 H 259.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#142F59
RGBrgb(20, 47, 89)
HSLhsl(217, 63%, 21%)
HSVhsv(217, 78%, 35%)
CMYKcmyk(77.5%, 47.2%, 0%, 65.1%)
CIE-LABlab(19.65, 6.22, -28.30)
CIE-LCHlch(19.65, 28.98, 282.39°)
OKLaboklab(30.92% -0.0157 -0.081)
OKLCHoklch(30.92% 0.082 259)
XYZxyz(3.1075, 2.9027, 9.8458)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F59 #593E14
analogous
#145259 #142F59 #1C1459
triadic
#142F59 #59142F #2F5914
tetradic
#142F59 #591452 #593E14 #14591C
square
#142F59 #591452 #593E14 #14591C
split-complementary
#142F59 #591C14 #525914
monochromatic
#060D19 #091527 #142F59 #1F498B #2A64BD

Accessibility & contrast

On white

13.29
#142F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F59
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F59#FFFFFF#000000##FFFFFF
##142F591.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A335B
Deuteranopia (green-blind)
#0E2D58
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142f59;
/* rgb */ color: rgb(20, 47, 89);
/* oklch */ color: oklch(30.9% 0.082 259.0);
Tailwind
colors: {
  custom: {
    50: '#5c6788',
    500: '#142f59',
    950: '#000000',
  },
}
SCSS
$custom: #142f59;
$custom-light: #5c6788;
$custom-dark: #000000;
JSON
{
  "hex": "#142f59",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 216.522,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30919,
    "c": 0.08248,
    "h": 259
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#142F59
secondary
#916E38
accent
#A641E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #142F59

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

Preview Lab → · Contrast checker → · Palette generator →

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