#142D51#142D51

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

Color values

HEX#142D51
RGBrgb(20, 45, 81)
HSLhsl(215, 60%, 20%)
HSVhsv(215, 75%, 32%)
CMYKcmyk(75.3%, 44.4%, 0%, 68.2%)
CIE-LABlab(18.45, 4.29, -24.88)
CIE-LCHlch(18.45, 25.24, 279.78°)
OKLaboklab(29.82% -0.0154 -0.0709)
OKLCHoklch(29.82% 0.073 257.7)
XYZxyz(2.7115, 2.6193, 8.1457)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D51 #513814
analogous
#144C51 #142D51 #1A1451
triadic
#142D51 #51142D #2D5114
tetradic
#142D51 #51144C #513814 #14511A
square
#142D51 #51144C #513814 #14511A
split-complementary
#142D51 #511A14 #4C5114
monochromatic
#060E19 #081220 #142D51 #204882 #2C64B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##142D51#FFFFFF#000000##FFFFFF
##142D511.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)
#1C3052
Deuteranopia (green-blind)
#132A50
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142d51;
/* rgb */ color: rgb(20, 45, 81);
/* oklch */ color: oklch(29.8% 0.073 257.7);
Tailwind
colors: {
  custom: {
    50: '#5a6582',
    500: '#142d51',
    950: '#000000',
  },
}
SCSS
$custom: #142d51;
$custom-light: #5a6582;
$custom-dark: #000000;
JSON
{
  "hex": "#142d51",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 215.41,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29815,
    "c": 0.0726,
    "h": 257.7
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#142D51
secondary
#896838
accent
#A244E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #142D51

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

Preview Lab → · Contrast checker → · Palette generator →

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