#142D56#142D56

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

Color values

HEX#142D56
RGBrgb(20, 45, 86)
HSLhsl(217, 62%, 21%)
HSVhsv(217, 77%, 34%)
CMYKcmyk(76.7%, 47.7%, 0%, 66.3%)
CIE-LABlab(18.79, 6.40, -27.69)
CIE-LCHlch(18.79, 28.42, 283.02°)
OKLaboklab(30.19% -0.0143 -0.0792)
OKLCHoklch(30.19% 0.08 259.8)
XYZxyz(2.9060, 2.6971, 9.1697)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D56 #563D14
analogous
#144E56 #142D56 #1C1456
triadic
#142D56 #56142D #2D5614
tetradic
#142D56 #56144E #563D14 #14561C
square
#142D56 #56144E #563D14 #14561C
split-complementary
#142D56 #561C14 #4E5614
monochromatic
#060D19 #081324 #142D56 #204788 #2B61B9

Accessibility & contrast

On white

13.64
#142D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D56
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D56#FFFFFF#000000##FFFFFF
##142D561.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193158
Deuteranopia (green-blind)
#0D2B55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142d56;
/* rgb */ color: rgb(20, 45, 86);
/* oklch */ color: oklch(30.2% 0.080 259.8);
Tailwind
colors: {
  custom: {
    50: '#5b6586',
    500: '#142d56',
    950: '#000000',
  },
}
SCSS
$custom: #142d56;
$custom-light: #5b6586;
$custom-dark: #000000;
JSON
{
  "hex": "#142d56",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 217.273,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30186,
    "c": 0.08046,
    "h": 259.8
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#142D56
secondary
#8E6D38
accent
#A842E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142D56

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

Preview Lab → · Contrast checker → · Palette generator →

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