#142C56#142C56

#142C56 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.082 H 260.7°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#142C56
RGBrgb(20, 44, 86)
HSLhsl(218, 62%, 21%)
HSVhsv(218, 77%, 34%)
CMYKcmyk(76.7%, 48.8%, 0%, 66.3%)
CIE-LABlab(18.46, 7.13, -28.21)
CIE-LCHlch(18.46, 29.10, 284.19°)
OKLaboklab(29.93% -0.0132 -0.0808)
OKLCHoklch(29.93% 0.082 260.7)
XYZxyz(2.8683, 2.6217, 9.1572)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C56 #563E14
analogous
#144D56 #142C56 #1D1456
triadic
#142C56 #56142C #2C5614
tetradic
#142C56 #56144D #563E14 #14561D
square
#142C56 #56144D #563E14 #14561D
split-complementary
#142C56 #561D14 #4D5614
monochromatic
#060D19 #081324 #142C56 #204588 #2B5FB9

Accessibility & contrast

On white

13.78
#142C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C56
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C56#FFFFFF#000000##FFFFFF
##142C561.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173058
Deuteranopia (green-blind)
#0A2A55
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142c56;
/* rgb */ color: rgb(20, 44, 86);
/* oklch */ color: oklch(29.9% 0.082 260.7);
Tailwind
colors: {
  custom: {
    50: '#5b6486',
    500: '#142c56',
    950: '#000000',
  },
}
SCSS
$custom: #142c56;
$custom-light: #5b6486;
$custom-dark: #000000;
JSON
{
  "hex": "#142c56",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 218.182,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29934,
    "c": 0.08183,
    "h": 260.7
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#142C56
secondary
#8E6F38
accent
#AA42E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142C56

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

Preview Lab → · Contrast checker → · Palette generator →

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