#142E56#142E56

#142E56 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.079 H 258.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#142E56
RGBrgb(20, 46, 86)
HSLhsl(216, 62%, 21%)
HSVhsv(216, 77%, 34%)
CMYKcmyk(76.7%, 46.5%, 0%, 66.3%)
CIE-LABlab(19.12, 5.67, -27.16)
CIE-LCHlch(19.12, 27.75, 281.80°)
OKLaboklab(30.44% -0.0153 -0.0776)
OKLCHoklch(30.44% 0.079 258.8)
XYZxyz(2.9446, 2.7743, 9.1826)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E56 #563C14
analogous
#144F56 #142E56 #1B1456
triadic
#142E56 #56142E #2E5614
tetradic
#142E56 #56144F #563C14 #14561B
square
#142E56 #56144F #563C14 #14561B
split-complementary
#142E56 #561B14 #4F5614
monochromatic
#060D19 #081324 #142E56 #204988 #2B63B9

Accessibility & contrast

On white

13.50
#142E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142E56
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E56#FFFFFF#000000##FFFFFF
##142E561.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3258
Deuteranopia (green-blind)
#0F2C55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142e56;
/* rgb */ color: rgb(20, 46, 86);
/* oklch */ color: oklch(30.4% 0.079 258.8);
Tailwind
colors: {
  custom: {
    50: '#5b6686',
    500: '#142e56',
    950: '#000000',
  },
}
SCSS
$custom: #142e56;
$custom-light: #5b6686;
$custom-dark: #000000;
JSON
{
  "hex": "#142e56",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 216.364,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3044,
    "c": 0.07913,
    "h": 258.8
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#142E56
secondary
#8E6C38
accent
#A542E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142E56

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

Preview Lab → · Contrast checker → · Palette generator →

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