#142F56#142F56

#142F56 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.7% C 0.078 H 257.8°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#142F56
RGBrgb(20, 47, 86)
HSLhsl(215, 62%, 21%)
HSVhsv(215, 77%, 34%)
CMYKcmyk(76.7%, 45.3%, 0%, 66.3%)
CIE-LABlab(19.45, 4.95, -26.63)
CIE-LCHlch(19.45, 27.09, 280.52°)
OKLaboklab(30.7% -0.0164 -0.0761)
OKLCHoklch(30.7% 0.078 257.8)
XYZxyz(2.9841, 2.8533, 9.1958)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F56 #563B14
analogous
#145056 #142F56 #1A1456
triadic
#142F56 #56142F #2F5614
tetradic
#142F56 #561450 #563B14 #14561A
square
#142F56 #561450 #563B14 #14561A
split-complementary
#142F56 #561A14 #505614
monochromatic
#060E19 #081424 #142F56 #204A88 #2B65B9

Accessibility & contrast

On white

13.37
#142F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F56
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F56#FFFFFF#000000##FFFFFF
##142F561.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3258
Deuteranopia (green-blind)
#112C55
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142f56;
/* rgb */ color: rgb(20, 47, 86);
/* oklch */ color: oklch(30.7% 0.078 257.8);
Tailwind
colors: {
  custom: {
    50: '#5b6786',
    500: '#142f56',
    950: '#000000',
  },
}
SCSS
$custom: #142f56;
$custom-light: #5b6786;
$custom-dark: #000000;
JSON
{
  "hex": "#142f56",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 215.455,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30696,
    "c": 0.07781,
    "h": 257.8
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#142F56
secondary
#8E6B38
accent
#A342E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #142F56

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

Preview Lab → · Contrast checker → · Palette generator →

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