#142B56#142B56

#142B56 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.083 H 261.6°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#142B56
RGBrgb(20, 43, 86)
HSLhsl(219, 62%, 21%)
HSVhsv(219, 77%, 34%)
CMYKcmyk(76.7%, 50%, 0%, 66.3%)
CIE-LABlab(18.13, 7.87, -28.73)
CIE-LCHlch(18.13, 29.79, 285.31°)
OKLaboklab(29.68% -0.0122 -0.0823)
OKLCHoklch(29.68% 0.083 261.6)
XYZxyz(2.8315, 2.5481, 9.1449)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B56 #563F14
analogous
#144C56 #142B56 #1E1456
triadic
#142B56 #56142B #2B5614
tetradic
#142B56 #56144C #563F14 #14561E
square
#142B56 #56144C #563F14 #14561E
split-complementary
#142B56 #561E14 #4C5614
monochromatic
#060C19 #081224 #142B56 #204488 #2B5DB9

Accessibility & contrast

On white

13.91
#142B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#142B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B56
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B56#FFFFFF#000000##FFFFFF
##142B561.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153058
Deuteranopia (green-blind)
#072955
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142b56;
/* rgb */ color: rgb(20, 43, 86);
/* oklch */ color: oklch(29.7% 0.083 261.6);
Tailwind
colors: {
  custom: {
    50: '#5b6386',
    500: '#142b56',
    950: '#000000',
  },
}
SCSS
$custom: #142b56;
$custom-light: #5b6386;
$custom-dark: #000000;
JSON
{
  "hex": "#142b56",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 219.091,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29683,
    "c": 0.0832,
    "h": 261.6
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#142B56
secondary
#8E7038
accent
#AD42E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142B56

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

Preview Lab → · Contrast checker → · Palette generator →

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